rwmb_meta_shortcode_secure
rwmb_meta_shortcode_secure
Appears in: wp-stateless.4.1.1
Hook Type: filter
See hook in action
Displaying hooks found in version: wp-stateless.4.1.1apply_filters('rwmb_meta_shortcode_secure') is found 1 times:
- /vendor/wpmetabox/meta-box/inc/shortcode.php line 31
$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 ); }