wpseo_replacement_variables_custom_fields

wpseo_replacement_variables_custom_fields

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

See hook in core

Displaying hooks found in version: wordpress-seo.23.8

apply_filters('wpseo_replacement_variables_custom_fields') is found 1 times:

  • /inc/class-wpseo-custom-fields.php line 56
    		 * in the meta box and sidebar.
    		 *
    		 * @param string[] $fields The custom field names.
    		 */
    		$fields = apply_filters( 'wpseo_replacement_variables_custom_fields', $fields );
    
    		if ( is_array( $fields ) ) {
    			self::$custom_fields = array_map( [ 'WPSEO_Custom_Fields', 'add_custom_field_prefix' ], $fields );
    		}
    
    		return self::$custom_fields;