pbs_shortcodes_to_hide_in_picker

ලිව්වේ

තුළ

,

pbs_shortcodes_to_hide_in_picker

PBS හි කෙටිකේත (shortcode) තෝරකය තුළ සඟවා තැබිය යුතු කෙටිකේත ටැග් ලැයිස්තුවකි. තෝරක උත්පතනයේ (picker popup) දිස්වන, ඔබ දැනටමත් අත්හැර දමා ඇති හෝ පරිශීලකයන්ගෙන් සැඟවීමට පමණක් අවශ්‍ය කෙටිකේත තිබේ නම් මෙය භාවිතා කරන්න.

පරාමිතීන්

$shortcodes

Array. කෙටිකේත ටැග් අඩංගු array එකක්.

උදාහරණය

තෝරකයෙන් කෙටිකේතය සඟවන්න.

add_filter( 'pbs_shortcodes_to_hide_in_picker, 'hide_embed_shortcode' );

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