acf_the_content хук-фильтрACF 1.0

apply filters

Использование

add_filter( 'acf_the_content', 'wp_kama_acf_the_content_filter' );

/**
 * Function for `acf_the_content` filter-hook.
 * 
 * @param  $value 
 *
 * @return 
 */
function wp_kama_acf_the_content_filter( $value ){

	// filter...
	return $value;
}
$value
-

Где вызывается хук

acf_field_wysiwyg::format_value()
acf_the_content
acf/includes/fields/class-acf-field-wysiwyg.php 433
$value = apply_filters( 'acf_the_content', $value );

Где используется хук в Advanced Custom Fields

acf/includes/fields/class-acf-field-wysiwyg.php 62
add_filter( 'acf_the_content', 'capital_P_dangit', 11 );
acf/includes/fields/class-acf-field-wysiwyg.php 64
add_filter( 'acf_the_content', 'wptexturize' );
acf/includes/fields/class-acf-field-wysiwyg.php 65
add_filter( 'acf_the_content', 'convert_smilies', 20 );
acf/includes/fields/class-acf-field-wysiwyg.php 66
add_filter( 'acf_the_content', 'wpautop' );
acf/includes/fields/class-acf-field-wysiwyg.php 67
add_filter( 'acf_the_content', 'shortcode_unautop' );
acf/includes/fields/class-acf-field-wysiwyg.php 69
add_filter( 'acf_the_content', $wp_filter_content_tags );
acf/includes/fields/class-acf-field-wysiwyg.php 70
add_filter( 'acf_the_content', 'do_shortcode', 11 );
acf/includes/fields/class-acf-field-wysiwyg.php 74
add_filter( 'acf_the_content', array( $GLOBALS['wp_embed'], 'run_shortcode' ), 8 );
acf/includes/fields/class-acf-field-wysiwyg.php 75
add_filter( 'acf_the_content', array( $GLOBALS['wp_embed'], 'autoembed' ), 8 );