Trait cz_supplement
Defining a trait here means that we can continue to derive from the existing WP controls, but add in our additional attributes without changing the signature.
Direct Known Users
ski\cz_checkbox_ctl,
ski\cz_color_palette_ctl,
ski\cz_textbox_ctl,
ski\cz_date_picker_ctl,
ski\cz_detail_ctl,
ski\cz_drop_ctl,
ski\cz_media_library_ctl,
ski\cz_number_bar_ctl,
ski\cz_radio_image_ctl,
ski\cz_radio_text_ctl,
ski\cz_text_area_ctl
Indirect Known Users
ski\cz_drop_categories_ctl,
ski\cz_drop_image_sizes_ctl,
ski\cz_drop_users_ctl,
ski\cz_radio_image_align_x_ctl,
ski\cz_radio_image_align_y_ctl,
ski\cz_radio_image_alignment_ctl,
ski\cz_radio_image_sidebar_layout_ctl,
ski\cz_radio_image_site_span_layout_ctl,
ski\cz_drop_menu_items_ctl,
ski\cz_drop_menus_ctl,
ski\cz_drop_pages_ctl,
ski\cz_drop_post_types_ctl,
ski\cz_drop_posts_ctl,
ski\cz_drop_tags_ctl,
ski\cz_drop_taxonomies_ctl,
ski\cz_drop_terms_ctl
Author: Dan Suleski
Since: 2.0
Located at packages/ski.web/controls/ski.wp.customizer.php
Methods summary
public
|
#
get_label_markup( )
The label should be uniform for every control - so just lay it out once and reference it from the render_content callback everywhere. |
public
|
#
get_description_markup( )
The description should be uniform for every control - so just lay it out once and reference it from the render_content callback everywhere. |
public
|
#
get_description_after_markup( )
Just like the description that comes first, the description that comes after the main control should be uniform for each of these controls - so just lay it out once and reference it from the render_content callback everywhere. |
public
|
#
get_label_description_markup( )
The label and description should be uniform for every control - so just lay it out once and reference it from the render_content callback everywhere. |
Magic methods summary
Properties summary
public
string
|
$desc |
#
Optional description to be displayed near the option title |
public
string
|
$desc_after |
#
Optional description to be displayed after the main control |