I have a very simple question (I hope). I am trying to edit the number of products displayed on my Shop page in my WooCommerce WordPress site, and all attempts thus far have been unsuccessful. I have come across some documentation stating that you can put
dd_filter( 'loop_shop_per_page', create_function( '$cols', 'return 24;' ), 20 ); in the
functions.php file but I am unable to find the PHP file.
I have searched all through the
root WP folder,
/wp-content/plugins/woocommerce/includes folder and
/wp-content/plugins/woocommerce/templates/ folder through an FTP client and haven't found anything.
Where is it?