wpseo_should_save_indexable

wpseo_should_save_indexable

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.22.3

apply_filters('wpseo_should_save_indexable') is found 1 times:

  • /src/builders/indexable-builder.php line 290
    		 *
    		 * @param bool      $intend_to_save True if YoastSEO intends to save the indexable.
    		 * @param Indexable $indexable      The indexable to be saved.
    		 */
    		$intend_to_save = \apply_filters( 'wpseo_should_save_indexable', $intend_to_save, $indexable );
    
    		if ( ! $intend_to_save ) {
    			return $indexable;
    		}
    
    		// Save the indexable before running the WordPress hook.