The_content filter - by reedbird8 - on WordPress WooCommerce support

This topic has 4 replies, 3 voices, and was last updated 9 years, 2 months ago ago by Eva Kemp

  • Avatar: reedbird8
    reedbird8
    Participant
    January 27, 2015 at 14:24

    Does Royal add a filter to the_content? If so, where is it? I’ve looked through the theme functions file for one, but don’t see it anywhere.

    3 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    January 27, 2015 at 14:32

    Hello,

    This question is a bit unclear for us. Could you please clarify us with more details?

    Regards,
    Robert Hall.

    Avatar: reedbird8
    reedbird8
    Participant
    January 28, 2015 at 13:34

    Many themes register their own content filter of some sort. I’ve seen it on many of the themes I’ve used. The one in Royal seems to be different from the last couple I’ve had.

    Here’s a clip from WordPress Codex:

    The “the_content” filter is used to filter the content of the post after it is retrieved from the database and before it is printed to the screen.

    A plugin (or theme) can register as a content filter with the code:

    <?php add_filter( ‘the_content’, ‘filter_function_name’ ) ?>

    Avatar: Eva
    Eva Kemp
    Support staff
    February 9, 2015 at 16:18

    Hello,

    Please take our apologies for a long delay.
    We didn’t add such filter in our theme.
    Sorry.

    Regards,
    Eva Kemp.

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.