rwmb_meta_shortcode_secure_{$field_id}

rwmb_meta_shortcode_secure_{$field_id}

Appears in:
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wp-stateless.4.1.1

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

See this hook used in plugins: