xmlrpc_publish_post

xmlrpc_publish_post

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('xmlrpc_publish_post') is found 1 times:

  • /wp-includes/post.php line 7862
    		 * @since 2.1.0
    		 *
    		 * @param int $post_id Post ID.
    		 */
    		do_action( 'xmlrpc_publish_post', $post_id );
    	}
    
    	if ( defined( 'WP_IMPORTING' ) ) {
    		return;
    	}