WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] priority issue, add/remove action (3 posts)

  1. miketopher
    Member
    Posted 2 years ago #

    im using this here

    function rep_title()
    {
         echo 'stuff';
    }
    remove_action('woocommerce_single_product_summary', 'woocommerce_template_single_title', 1);
    add_action('woocommerce_template_single_title', 'rep_title', 10);

    ive tried different priorities but i cant get it to work, it either has no effect, or the title simply does not display at all...as i change the priority.

    any ideas?

  2. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Try closing this thread and starting one in plugins & hacks , or, advanced, this thread is for basic troubleshooting only.

  3. miketopher
    Member
    Posted 2 years ago #

    fine then! :-p jk.

Topic Closed

This topic has been closed to new replies.

About this Topic