wpseo_save_compare_data, $post

wpseo_save_compare_data, $post

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-seo.28.1

do_action('wpseo_save_compare_data, $post') is found 2 times:

  • /admin/metabox/class-metabox.php line 732
    			// Non-existent post.
    			return false;
    		}
    
    		do_action( 'wpseo_save_compare_data', $post );
    
    		$social_fields = [];
    		if ( $this->social_is_enabled ) {
    			$social_fields = WPSEO_Meta::get_meta_field_defs( 'social' );
    		}
    
    
  • /src/integrations/third-party/elementor.php line 282
    			// Non-existent post.
    			\wp_send_json_error( 'Post not found', 400 );
    		}
    
    		\do_action( 'wpseo_save_compare_data', $post );
    
    		// Initialize meta, amongst other things it registers sanitization.
    		WPSEO_Meta::init();
    
    		$social_fields = [];
    		if ( $this->social_is_enabled ) {