Support » Fixing WordPress » priority issue, add/remove action

  • Resolved miketopher

    (@miketopher)


    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?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘priority issue, add/remove action’ is closed to new replies.