pbs_shortcodes_to_hide_in_picker
PBS’in kısa kod seçicisinde gizlenecek kısa kod etiketlerinin listesi. Seçici açılır penceresinde görünen ve artık kullanımdan kaldırdığınız veya yalnızca kullanıcılardan gizlemek istediğiniz kısa kodlarınız varsa bunu kullanın.
Parametreler
$shortcodes
Dizi. Kısa kod etiketlerinden oluşan bir dizi.
Örnek
kısa kodunu seçiciden gizleyin.
add_filter( 'pbs_shortcodes_to_hide_in_picker, 'hide_embed_shortcode' );
function hide_embed_shortcode( $shortcodes ) {
$shortcodes[] = 'embed';
return $shortcodes;
}