acf/the_field/allow_unsafe_html
Usage
add_filter( 'acf/the_field/allow_unsafe_html', 'wp_kama_acf_the_field_allow_unsafe_html_filter', 10, 5 );
/**
* Function for `acf/the_field/allow_unsafe_html` filter-hook.
*
* @param $false
* @param $selector
* @param $post_id
* @param $field_type
* @param $field
*
* @return
*/
function wp_kama_acf_the_field_allow_unsafe_html_filter( $false, $selector, $post_id, $field_type, $field ){
// filter...
return $false;
}
- $false
- -
- $selector
- -
- $post_id
- -
- $field_type
- -
- $field
- -
Where the hook is called
acf/the_field/allow_unsafe_html
acf/the_field/allow_unsafe_html
acf/includes/api/api-template.php 132
if ( apply_filters( 'acf/the_field/allow_unsafe_html', false, $selector, $post_id, $field_type, $field ) ) {
acf/includes/api/api-template.php 910
if ( apply_filters( 'acf/the_field/allow_unsafe_html', false, $field_name, 'sub_field', $field_type, $field ) ) {