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_the_content

Де використовується хук в 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);

Залишити відповідь

Ваша e-mail адреса не оприлюднюватиметься. Обов’язкові поля позначені *