WordPress.org

Support

Support » Plugins and Hacks » WooCommerce » Chang `do_action` Order

Chang `do_action` Order

  • Is there an easy way to change the order of things called via do_action? For instance, I want to show my product page results Under my product sorting. It uses this action:

    do_action( 'woocommerce_before_shop_loop' );

    Which calls these pages:

    /loop/result-count.php
    /loop/orderby.php

    in that order, how would I reverse the order of these 2 (and possibly any do_actions) so that orderby displays first?

    http://wordpress.org/plugins/woocommerce/

  • The topic ‘Chang `do_action` Order’ is closed to new replies.
Skip to toolbar