rwmb_meta_shortcode_secure

rwmb_meta_shortcode_secure

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wp-stateless.4.1.2

apply_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 );
    		}
    
    

See this hook used in plugins: