Hi.
There is not currently a filter on the page excerpt within the plugin.
An alternative approach would be to filter the page content using the the_contentfilter (see https://codex.ww.wp.xz.cn/Plugin_API/Filter_Reference/the_content) rather than trying to replace the the_content function within WordPress – that way all functions that get the page content (the_content, get_the_content, …) will return consistent results.
cc_child_pages uses the get_the_contentfunction provided by WordPress.
I hope this is of some help … let me know if you need further assistance. (Details of why you replaced the the_content function and what you are doing with it may help in coming up with alternative approaches.)
-
This reply was modified 8 years, 1 month ago by
caterhamcomputing. Reason: clarifying code within the post
Did my post give you the information you needed, or do you need further assistance?
As I have not heard back, I am assuming that the problem is resolved … If you are still having problems please let me know.
I have added creating a filter hook for the page excerpt within the plugin to the list of enhancements for future releases as it may be useful in some circumstances.