WordPress system (hardware) requirements?

System Requirements MainWP Requires the following to work correctly: WordPress 3.6 or greater WordPress Memory Limit 64MB or more PHP version 5.3 or greater (PHP 5.6 or greater recommended) PHP Safe Mode Disabled PHP Max Execution Time 30 seconds or more PHP Memory Limit 128MB or more cURL Library Enabled cURL Timeout 300 seconds or … Read more

How to filter part of a variable if it is no array?

The documentation is well explicable of the topic, let’s have a look here https://developer.wordpress.org/reference/functions/apply_filters/. In your specific case my_filter is applied no matter what, even if there is no value it. To apply the filter only if is_array() you could insert a specific instruction directly into your filter like: function example_callback( $output ) { if(is_array($output)){ … Read more

Edit the text location of a form

Inspect the text in your browser by right clicking it and picking Inspect. This should open up a window where you can adjust the CSS for all the elements on the page. You will need to play around with what needs changed. Once you figured out what needs to change, you can copy the new … Read more

How do I find a shortcode stored in wordpress?

not sure if this helps but https://en.support.wordpress.com/shortcodes/ has a list of shortcodes available within WordPress. remember that themes may add additional codes. I’ve tried to format my reply so the codes are on separate lines but can’t work out how to do it. If someone could edit my answer/format it so I can learn that … Read more

Send a custom notification to customer on WooCommerce cancelled order status

A better solution will be to use all arguments included in woocommerce_order_status_cancelled hooked function, so the missing $order variable. Also as the action hook woocommerce_order_status_cancelled is triggered when order status change to “cancelled”, so in your code, if ($order->has_status(‘cancelled’)) { is not needed. Then your code will be: add_filter(‘woocommerce_order_status_cancelled’, ‘woocommerce_send_mail_abandonned_order’, 10, 2 ); function woocommerce_send_mail_abandonned_order( … Read more

How to add plus minus button on Input Quantity box Woocommerce? [closed]

Below code snippet will display Plus & Minus Quantity Buttons @ WooCommerce Single Product Page. Reference /** * @snippet Plus Minus Quantity Buttons @ WooCommerce Single Product Page * @how-to Watch tutorial @ https://businessbloomer.com/?p=19055 * @sourcecode https://businessbloomer.com/?p=90052 * @author Rodolfo Melogli * @compatible WooCommerce 3.5.1 * @donate $9 https://businessbloomer.com/bloomer-armada/ */ // ————- // 1. Show … Read more