Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
WC_Template_Loader::get_current_shop_view_args()
Get information about the current shop page view.
Description Description
Return Return
(array)
Source Source
File: includes/class-wc-template-loader.php
private static function get_current_shop_view_args() { return (object) array( 'page' => absint( max( 1, absint( get_query_var( 'paged' ) ) ) ), 'columns' => wc_get_default_products_per_row(), 'rows' => wc_get_default_product_rows_per_page(), ); }
Changelog Changelog
Version | Description |
---|---|
3.3.0 | Introduced. |