post_type ) { \add_action( 'msls_main_save', '__return_null' ); } } /** * Remove short-circuit for Multisite Language Switcher data. * * @param int $post_id The post id. * @param WP_Post $post The post object. */ public static function unignore_outbox_post( $post_id, $post ) { if ( Outbox::POST_TYPE === $post->post_type ) { \remove_action( 'msls_main_save', '__return_null' ); } } }