cb-core-dependency.php
Table of Contents
Functions
- cb_admin_enqueue_scripts() : mixed
- Fires the cb_admin_enqueue_scripts action, where plugins can enqueue admin scripts.
- cb_loaded() : mixed
- Fires the cb_loaded action, where plugins can load their files.
- cb_init() : mixed
- Fires the cb_init action, where plugins can initialize their components.
- cb_customize_register() : mixed
- Fires the cb_customize_register action, where plugins can register their customizer settings.
- cb_ready() : mixed
- Fires the cb_ready action, where plugins can do things after the CB plugin is ready.
- cb_setup_current_user() : mixed
- Fires the cb_setup_current_user action, where plugins can do things after the current user is setup.
- cb_setup_theme() : mixed
- Fires the cb_setup_theme action, where plugins can modify what happens while the theme is being setup.
- cb_after_setup_theme() : mixed
- Fires the cb_after_setup_theme action, where plugins can do things after the theme is setup.
- cb_enqueue_scripts() : mixed
- Fires the cb_enqueue_scripts action, where plugins can register their front-end scripts.
- cb_template_redirect() : mixed
- Fires the cb_template_redirect action, where plugins can do things before the template is loaded.
- cb_widgets_init() : mixed
- Fires the cb_widgets_init action, where plugins can register their widgets.
- cb_generate_rewrite_rules() : mixed
- Fires the cb_generate_rewrite_rules action, where plugins can add their rewrite rules.
- cb_setup_components() : mixed
- Fires the cb_setup_components action, where plugins can register their components.
- cb_include() : mixed
- Fires the cb_include action, where plugins can include their files.
- cb_register_post_types() : mixed
- Fires the cb_register_post_types action, where plugins can register their post types.
- cb_register_taxonomies() : mixed
- Fires the cb_register_taxonomies action, where plugins can register their taxonomies.
- cb_setup_globals() : mixed
- Fires the cb_setup_globals action, where plugins can register their globals.
- cb_setup_canonical_stack() : mixed
- Fires the cb_setup_canonical_stack action, where plugins can register their canonical stack.
- cb_setup_nav() : mixed
- Fires the cb_setup_nav action, where plugins can register their nav items.
- cb_setup_title() : mixed
- Fires the cb_setup_title action, where plugins can register their title.
- cb_add_rewrite_tags() : mixed
- Fires the cb_add_rewrite_tags action, where plugins can add their rewrite tags.
- cb_add_rewrite_rules() : mixed
- Fires the cb_add_rewrite_rules action, where plugins can add their rewrite rules.
- cb_add_permastructs() : mixed
- Fires the cb_add_permastructs action, where plugins can add their permastructs.
- cb_register_member_types() : mixed
- Fires the cb_register_member_types action, where plugins can register their member types.
- cb_actions() : mixed
- Fires the cb_actions action, where plugins can register their actions.
- cb_screens() : mixed
- Fires the cb_screens action, where plugins can register their screens.
- cb_late_include() : mixed
- Fires the cb_late_include action, where plugins can add include files after the canonical stack has been established.
- cb_post_request() : mixed
- Fires the cb_post_request action, where plugins can register their post requests.
- cb_get_request() : mixed
- Fires the cb_get_request action, where plugins can register their get requests.
- cb_head() : mixed
- Fires the cb_head action, where plugins can register their head items.
- cb_request() : mixed
- Fires the cb_request action, where plugins can modify their queries.
- cb_login_redirect() : mixed
- Fires the cb_login_redirect action, where plugins can modify the login redirect.
- cb_template_include() : mixed
- Fires the cb_template_include action, where plugins can modify the template.
- cb_allowed_themes() : mixed
- Fires the cb_allowed_themes action, where plugins can modify the allowed themes.
- cb_rest_api_init() : mixed
- Fires the cb_rest_api_init action, so we (and others) can easily hook into our REST API.
Functions
cb_admin_enqueue_scripts()
Fires the cb_admin_enqueue_scripts action, where plugins can enqueue admin scripts.
cb_admin_enqueue_scripts() : mixed
Tags
cb_loaded()
Fires the cb_loaded action, where plugins can load their files.
cb_loaded() : mixed
Tags
cb_init()
Fires the cb_init action, where plugins can initialize their components.
cb_init() : mixed
Tags
cb_customize_register()
Fires the cb_customize_register action, where plugins can register their customizer settings.
cb_customize_register(WP_Customize_Manager $customizer) : mixed
Parameters
- $customizer : WP_Customize_Manager
Tags
cb_ready()
Fires the cb_ready action, where plugins can do things after the CB plugin is ready.
cb_ready() : mixed
Tags
cb_setup_current_user()
Fires the cb_setup_current_user action, where plugins can do things after the current user is setup.
cb_setup_current_user() : mixed
Tags
cb_setup_theme()
Fires the cb_setup_theme action, where plugins can modify what happens while the theme is being setup.
cb_setup_theme() : mixed
Tags
cb_after_setup_theme()
Fires the cb_after_setup_theme action, where plugins can do things after the theme is setup.
cb_after_setup_theme() : mixed
Tags
cb_enqueue_scripts()
Fires the cb_enqueue_scripts action, where plugins can register their front-end scripts.
cb_enqueue_scripts() : mixed
Tags
cb_template_redirect()
Fires the cb_template_redirect action, where plugins can do things before the template is loaded.
cb_template_redirect() : mixed
Tags
cb_widgets_init()
Fires the cb_widgets_init action, where plugins can register their widgets.
cb_widgets_init() : mixed
Tags
cb_generate_rewrite_rules()
Fires the cb_generate_rewrite_rules action, where plugins can add their rewrite rules.
cb_generate_rewrite_rules(mixed $wp_rewrite) : mixed
Parameters
- $wp_rewrite : mixed
Tags
cb_setup_components()
Fires the cb_setup_components action, where plugins can register their components.
cb_setup_components() : mixed
Tags
cb_include()
Fires the cb_include action, where plugins can include their files.
cb_include() : mixed
Tags
cb_register_post_types()
Fires the cb_register_post_types action, where plugins can register their post types.
cb_register_post_types() : mixed
Tags
cb_register_taxonomies()
Fires the cb_register_taxonomies action, where plugins can register their taxonomies.
cb_register_taxonomies() : mixed
Tags
cb_setup_globals()
Fires the cb_setup_globals action, where plugins can register their globals.
cb_setup_globals() : mixed
Tags
cb_setup_canonical_stack()
Fires the cb_setup_canonical_stack action, where plugins can register their canonical stack.
cb_setup_canonical_stack() : mixed
Tags
cb_setup_nav()
Fires the cb_setup_nav action, where plugins can register their nav items.
cb_setup_nav() : mixed
Tags
cb_setup_title()
Fires the cb_setup_title action, where plugins can register their title.
cb_setup_title() : mixed
Tags
cb_add_rewrite_tags()
Fires the cb_add_rewrite_tags action, where plugins can add their rewrite tags.
cb_add_rewrite_tags() : mixed
Tags
cb_add_rewrite_rules()
Fires the cb_add_rewrite_rules action, where plugins can add their rewrite rules.
cb_add_rewrite_rules() : mixed
Tags
cb_add_permastructs()
Fires the cb_add_permastructs action, where plugins can add their permastructs.
cb_add_permastructs() : mixed
Tags
cb_register_member_types()
Fires the cb_register_member_types action, where plugins can register their member types.
cb_register_member_types() : mixed
Tags
cb_actions()
Fires the cb_actions action, where plugins can register their actions.
cb_actions() : mixed
Tags
cb_screens()
Fires the cb_screens action, where plugins can register their screens.
cb_screens() : mixed
Tags
cb_late_include()
Fires the cb_late_include action, where plugins can add include files after the canonical stack has been established.
cb_late_include() : mixed
Tags
cb_post_request()
Fires the cb_post_request action, where plugins can register their post requests.
cb_post_request() : mixed
Tags
cb_get_request()
Fires the cb_get_request action, where plugins can register their get requests.
cb_get_request() : mixed
cb_head()
Fires the cb_head action, where plugins can register their head items.
cb_head() : mixed
Tags
cb_request()
Fires the cb_request action, where plugins can modify their queries.
cb_request([mixed $query_vars = array() ]) : mixed
Parameters
- $query_vars : mixed = array()
cb_login_redirect()
Fires the cb_login_redirect action, where plugins can modify the login redirect.
cb_login_redirect([string $redirect_to = '' ][, string $redirect_to_raw = '' ][, WP_User|WP_Error $user = false ]) : mixed
Parameters
- $redirect_to : string = ''
-
The redirect destination URL.
- $redirect_to_raw : string = ''
-
The requested redirect destination URL passed as a parameter.
- $user : WP_User|WP_Error = false
-
WP_User object if login was successful, WP_Error object otherwise.
cb_template_include()
Fires the cb_template_include action, where plugins can modify the template.
cb_template_include([string $template = '' ]) : mixed
Parameters
- $template : string = ''
-
The template to include.
Tags
cb_allowed_themes()
Fires the cb_allowed_themes action, where plugins can modify the allowed themes.
cb_allowed_themes(array<string|int, mixed> $themes) : mixed
Parameters
- $themes : array<string|int, mixed>
-
The allowed themes.
Tags
cb_rest_api_init()
Fires the cb_rest_api_init action, so we (and others) can easily hook into our REST API.
cb_rest_api_init() : mixed