Email: info@wpitaly.it
Credo di aver trovato, e magari può servire a qualcuno… l’hook in questione sembra essere update_option_sidebars_widgets. Viene attivato al cambio ordine dei widget e inserimento/rimozione degli stessi.
Ciao.
Dal pannello admin: Impostazioni -> Discussione -> I commenti devono venir visualizzati con [vecchio/nuovo] commenti in cima a ciascuna pagina
Copia nella root il contenuto della cartella /wordpress/ senza metterci anche la cartella.
Ok, l’ordine è quello. In wp-settings sono presenti nell’ordine:
do_action( ‘muplugins_loaded’ );
do_action( ‘plugins_loaded’ );
do_action( ‘sanitize_comment_cookies’ );
do_action( ‘setup_theme’ );
do_action( ‘after_setup_theme’ );
do_action( ‘init’ );
Quindi le azioni hookate a plugins_loaded verrano sempre eseguite prima di quelle hookate a init…
Bene, grazie per il consiglio.
Ciao.
ok,
1) nuovo post e nuova immagine (post_id 1 e immagine originale)
2) ruoto l’immagine
3) nuovo post con stessa immagine (post_id 2 e immagine ruotata)
Solo il post_id 1 mi consente di recuperare l’allegato MA i postmeta dell’immagine sono ora relativi a quelli dell’immagine ruotata.
ps. Grazie per la rapida risposta!
WPItaly - Copyright Creative Commons: CC BY-NC-SA 4.0