rwmb_meta_shortcode_secure_{$field_id}
rwmb_meta_shortcode_secure_{$field_id}
Appears in: wp-stateless.4.1.1, wp-stateless.4.1.2
Hook Type: filter
See hook in action
Displaying hooks found in version: wp-stateless.4.1.2apply_filters('rwmb_meta_shortcode_secure_{$field_id}') is found 1 times:
- /vendor/wpmetabox/meta-box/inc/shortcode.php line 32
$value = $this->get_value( $field_id, $object_id, $atts ); $value = 'true' === $atts['render_shortcodes'] ? do_shortcode( $value ) : $value; $secure = apply_filters( 'rwmb_meta_shortcode_secure', true, $field_id, $atts, $object_id ); $secure = apply_filters( "rwmb_meta_shortcode_secure_{$field_id}", $secure, $atts, $object_id ); if ( $secure ) { $value = wp_kses_post( $value ); } return $value;