CC Child Pages 2.1.2 has 5 actions and 44 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when CC Child Pages fires an action
add_action( 'cc_child_pages/elementor/after_register_controls', function( $object ) {
// Your code runs here.
}, 10, 1 );
// Change a value CC Child Pages is about to use
add_filter( 'cc_child_pages/elementor/shortcode_atts', function( $atts, $settings, $object ) {
// Change $atts here.
return $atts;
}, 10, 3 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Allow extensions (eg Pro) to register controls after the core widget * controls. */ do_action( 'cc_child_pages/elementor/after_register_controls', $this ); -
/** * Allow extensions (eg Pro) to register controls before the core widget * controls. */ do_action( 'cc_child_pages/elementor/before_register_controls', $this ); -
/** * Allow extensions (eg Pro) to modify the shortcode attributes produced by * this widget. */ apply_filters( 'cc_child_pages/elementor/shortcode_atts', $atts, $settings, $this ); -
/** * Filter the Elementor widget title. */ apply_filters( 'cc_child_pages/elementor/widget_title', $title, $this ); -
cc_child_pages_editor_skins
filterapply_filters( 'cc_child_pages_editor_skins', $default_skins ); -
cc_child_pages_lazy_load
filterapply_filters( 'cc_child_pages_lazy_load', strtolower( $a['lazy_load'] ) === 'true' ); -
ccchildpages_after_shortcode
filterapply_filters( 'ccchildpages_after_shortcode', '', $a ); -
ccchildpages_after_widget
filterapply_filters( 'ccchildpages_after_widget', $args['after_widget'], $args, $instance ); -
ccchildpages_attributes
filterapply_filters( 'ccchildpages_attributes', $a ); -
apply_filters( 'ccchildpages_before_shortcode', '', $a ); -
ccchildpages_before_widget
filterapply_filters( 'ccchildpages_before_widget', $args['before_widget'], $args, $instance ); -
ccchildpages_block_slugs
filterapply_filters( 'ccchildpages_block_slugs', array( 'caterhamcomputing/cc-child-pages', 'cc/child-pages', ) ); -
apply_filters( 'ccchildpages_child_list_template', '<div class="ccsubpages">{{child_list_title}}<ul>{{child_list}}</ul></div>', $a ); -
apply_filters( 'ccchildpages_child_list_title', '<h4 class="ccsubpages_title">{{subpage_title}}</h4>', $a ); -
ccchildpages_css_version
filterapply_filters( 'ccchildpages_css_version', $css_version_class, $a ); -
apply_filters( 'ccchildpages_dashboard_dismiss_capability', 'edit_pages' ); -
apply_filters( 'ccchildpages_dashboard_parent_query_args', array( 'post_type' => 'page', 'post_status' => 'publish', 'posts_per_page' => 5, 'orderby' => 'modified', 'order' => 'DESC', 'fields' => 'ids', ) ); -
ccchildpages_defaults
filterapply_filters( 'ccchildpages_defaults', array( 'id' => get_the_ID(), 'page_ids' => '', 'posts_per_page' => -1, 'limit' => -1, 'page' => -1, 'cols' => '', 'depth' => '1', 'exclude' => '', 'exclude_tree' => '', 'skin' => 'simple', 'class' => '', 'orderby' => 'menu_order', 'order' => 'ASC', 'link_titles' => 'false', 'title_link_class' => 'ccpage_title_link', 'hide_title' => 'false', 'hide_more' => 'false', 'hide_excerpt' => 'false', 'sh... ); -
apply_filters( 'ccchildpages_excerpt_template', '<div class="ccpages_excerpt">{{page_excerpt}}</div>', $a ); -
ccchildpages_inline_vars_map
filterapply_filters( 'ccchildpages_inline_vars_map', $extra_styles, $attributes ); -
ccchildpages_inner_template
filterapply_filters( 'ccchildpages_inner_template', '<div class="ccchildpage {{page_class}}">{{title_tag}}{{meta}}{{thumbnail}}{{excerpt}}{{more}}</div>', $a ); -
ccchildpages_list_pages_args
filterapply_filters( 'ccchildpages_list_pages_args', $args, $a ); -
ccchildpages_meta_template
filterapply_filters( 'ccchildpages_meta_template', '<p class="small cc-meta-info">{{meta}}</p>', $a ); -
ccchildpages_more_template
filterapply_filters( 'ccchildpages_more_template', '<p class="ccpages_more"><a href="{{link}}" {{link_target}} title="{{more}}">{{more}}</a></p>', $a ); -
ccchildpages_options
filterapply_filters( 'ccchildpages_options', $options ); -
do_action( 'ccchildpages_options_before_form', $options ); -
ccchildpages_options_form
actiondo_action( 'ccchildpages_options_form', $options ); -
do_action( 'ccchildpages_options_form_top', $options ); -
ccchildpages_outer_template
filterapply_filters( 'ccchildpages_outer_template', '<div id="ccchildpages-' . $cc_uid . '" class="ccchildpages ' . apply_filters( 'ccchildpages_css_version', $css_version_class, $a ) . ' {{class}} {{skin}} ccclearfix">{{ccchildpages}}</div>', $a ); -
ccchildpages_query_args
filterapply_filters( 'ccchildpages_query_args', $args, $a ); -
ccchildpages_title_template
filterapply_filters( 'ccchildpages_title_template', '<h3{{title_class}}>{{title}}</h3>', $a ); -
ccchildpages_upgrade_url
filterapply_filters( 'ccchildpages_upgrade_url', 'https://ccplugins.co.uk/wordpress-plugins/cc-child-pages-pro/' ); -
apply_filters( 'ccchildpages_widget_after_title', $args['after_title'], $args, $instance ); -
apply_filters( 'ccchildpages_widget_before_title', $args['before_title'], $args, $instance ); -
ccchildpages_widget_end_ul
filterapply_filters( 'ccchildpages_widget_end_ul', '</ul>', $args, $instance ); -
ccchildpages_widget_output
filterapply_filters( 'ccchildpages_widget_output', $ul_open . $out . $ul_close, $args, $instance ); -
apply_filters( 'ccchildpages_widget_pages_args', array( 'title_li' => '', 'child_of' => $parent_id, 'echo' => 0, 'depth' => $depth, 'sort_column' => $sortby, 'exclude' => $exclude, 'exclude_tree' => $exclude_tree, ), $args, $instance ); -
ccchildpages_widget_start_ul
filterapply_filters( 'ccchildpages_widget_start_ul', '<ul>', $args, $instance ); -
ccchildpages_wrapper_classes
filterapply_filters( 'ccchildpages_wrapper_classes', $extra_classes, $attributes ); -
ccchildpages/pro_present
filterapply_filters( 'ccchildpages/pro_present', false ); -
the_content
filterapply_filters( 'the_content', $page_excerpt ); -
widget_title
filterapply_filters( 'widget_title', $widget_title, $args, $instance );
Generated from CC Child Pages's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: