save_post does not work with xmlrpc post update
-
Hi,
I have a Custom Post Types (‘exhibition’) created with plugin Custom Post Type UI by WebDevStudios.com.
I create and updated posts with xmlrpc and I’d like to execute some actions when a post is updated.
I tried to use ‘save_post’ action but it seems does not work.
Instead, if I update an exhibition post in wordpress backend without using xmlrpc it works fine.My code in function.php is, for example:
add_action( 'save_post_exhibition', 'clear_cache_for_page_id_23965', 10, 1 );My site is a network multisite installation.
I read https://core.trac.wordpress.org/ticket/21192 but I didn’t understand it 🙁
Anybody can help me?
Thanks
Nikka
The topic ‘save_post does not work with xmlrpc post update’ is closed to new replies.