Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author George Notaras

    (@gnotaras)

    Hello @thorned-rose

    Thanks for your feedback.

    The license block is added at the end of the content via a filtering function with priority 250. To change the priority of the CC-Configurator’s filtering function, you can add the following in your theme’s functions.php:

    remove_filter('the_content', 'bccl_append_to_post_body');
    add_filter('the_content', 'bccl_append_to_post_body', 9999);

    The above basically removes the filtering function and re-adds it with bigger priority. Think of priority as the order of execution of all the filtering functions attached to the the_content hook.

    Hope this helps.

    BTW, for faster responses, please use the Github issue tracker.

    Kind Regards,
    George

    Plugin Author George Notaras

    (@gnotaras)

    After a second thought, future releases will have this priority set to 99999 so as to make sure the licensing block appears last. There is no valid reason for displaying it before any other post content.

    Thanks for your feedback. I’ll now mark this topic as resolved.

    George

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Changing load order’ is closed to new replies.