post object. * * @return void */ public function track_after_rest_api_request( $post ) { $this->track_request( $post ); } /** * Republishes the original post with the passed post, when using the Classic Editor. * * Runs also in the Block Editor to save the custom meta data only when there * are custom meta boxes. * * @param int $post_id The copy's post ID. * @param WP_Post $post The copy's post object. * * @return void */ public function track_after_post_request( $post_id, $post ) { if ( \wp_is_serving_rest_request() ) { return; } $this->track_request( $post ); } }
Warning: Cannot modify header information - headers already sent by (output started at /htdocs/ar.maghreb-plus.com/wp-content/plugins/wordpress-seo/src/integrations/third-party/wincher-publish.php:1) in /htdocs/ar.maghreb-plus.com/wp-includes/pluggable.php on line 1435

Warning: Cannot modify header information - headers already sent by (output started at /htdocs/ar.maghreb-plus.com/wp-content/plugins/wordpress-seo/src/integrations/third-party/wincher-publish.php:1) in /htdocs/ar.maghreb-plus.com/wp-includes/pluggable.php on line 1438