Forums

[resolved] Order of add_filter on the_content? (2 posts)

  1. Alexandre Vallières-Lagacé
    Member
    Posted 2 years ago #

    Hi,

    I have a couple of plugins that filter the content as such:

    <?php add_filter( "the_content", "plugin_function_name" ) ?>

    And I would like to know if there is a way to make sure one is executed before another one or as the first/last one.

    Thanks!

  2. Mark / t31os
    Moderator
    Posted 2 years ago #

    Yes, you can set the priority..

    It's the third parameter.
    http://codex.wordpress.org/Function_Reference/add_filter

Topic Closed

This topic has been closed to new replies.

About this Topic