Class CMB2_Show_Filters
Show On Filters Use the 'cmb2_show_on' filter to further refine the conditions under which a metabox is displayed. Below you can limit it by ID and page template
All methods in this class are automatically filtered
Package: CMB2
Category: WordPress_Plugin
License: GPL-2.0+
Author: CMB2 team
Since: 1.0.0
Link: https://cmb2.io
Located at includes/CMB2_Show_Filters.php
Category: WordPress_Plugin
License: GPL-2.0+
Author: CMB2 team
Since: 1.0.0
Link: https://cmb2.io
Located at includes/CMB2_Show_Filters.php
Methods summary
private static
mixed
|
|
private static
mixed
|
#
get_show_on_value( array $meta_box_args )
Get Show_on value. backwards compatible w/ 'value' indexes |
public static
boolean
|
|
public static
boolean
|
#
check_page_template( boolean $display, array $meta_box_args,
Add metaboxes for an specific Page Template |
public static
boolean
|
#
check_admin_page( boolean $display, array $meta_box_args )
Only show options-page metaboxes on their options page (but only enforce on the admin side) |