Check if post is added manually or through wp_insert_post()
I have found a solution without adding any other metaboxes. I haven’t thought about it but the import function in my plugin uses a nonce so I just check if my nonce is set or not. Here is my save_post_events function: add_action( ‘save_post_events’, ‘wse_327066_example’, 10, 3); function wse_327066_example( $post_id, $post, $update ) { if ( … Read more