woocommerce_get_catalog_ordering_args

woocommerce_get_catalog_ordering_args

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_get_catalog_ordering_args') is found 1 times:

  • /includes/class-wc-query.php line 657
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
                add_filter( 'posts_clauses', array( $this, 'order_by_rating_post_clauses' ) );
                break;
        }
     
        return apply_filters( 'woocommerce_get_catalog_ordering_args', $args, $orderby, $order );
    }
     
    /**
     * Custom query used to filter products by price.
     *
     * @since 3.6.0