pbs_shortcodes_to_hide_in_picker

A list of shortcode tags to hide in PBS's shortcode picker. Use this if you have shortcodes that show up in the picker popup which you have already deprecated or just want to hide from users.

Parameters

$shortcodes

Array. An array of shortcode tags.

Example

Hide the [embed] shortcode from the picker.

add_filter( 'pbs_shortcodes_to_hide_in_picker, 'hide_embed_shortcode' );

function hide_embed_shortcode( $shortcodes ) {
	$shortcodes[] = 'embed';
	return $shortcodes;
}

Still need help? Contact Us Contact Us