after - How to add text after price in WooCommerce

How to add text after price in WooCommerce

To put a string after the price of WooCommerce product and cart pages, use the WooCommerce filters woocommerce_cart_item_price and woocommerce_get_price_html Add the following code to your active theme functions.php file. Make sure to change <span class=”price-suffix”>TEXT AFTER THE PRICE</span> with your text or HTML code. NEXT: How to Add text before the price in WooCommerce

WPXSS CLANCI - wp_actionscheduler_actions & wp_actionscheduler_logs tables

wp_actionscheduler_actions & wp_actionscheduler_logs tables

WooCommerce plugin uses the wp_actionsscheduler_actions table in the database to log scheduled actions such as cron’s running, product synchronization, upgrade, etc. These actions should be deleted once they are executed but this doesn’t always happen, in most cases, this table uses an InnoDB database engine with a row-level locking feature meaning that multiple queries can … Read full article →

Reinstall WordPress Core using WP CLI - Reinstall WordPress Core using WP-CLI

Reinstall WordPress Core using WP-CLI

Useful WP-CLI commands that I use when cleaning hacked WordPress websites in order to reinstall WP core, all themes, and plugins from WordPress.org

How to Rename wp login.php  - How to Rename wp-login.php

How to Rename wp-login.php

It is generally not recommended to rename the wp-login.php file in a WordPress installation as this can cause issues with the WordPress site and may make it difficult or impossible to log in to the WordPress administration panel. However, if you still want to rename the wp-login.php file, you can do so by following these … Read full article →

How to check if a WordPress Plugin is Active - WP DEV: How to check if a WordPress Plugin is Active?

WP DEV: How to check if a WordPress Plugin is Active?

To check if a plugin is active in WordPress, you can use if ( is_plugin_active( ‘plugin-directory/plugin-file.php’ ) ) { if ( is_plugin_active( ‘akismet/akismet.php’ ) ) { // plugin is active } else { // plugin is inactive } You can also use the get_plugins() function to retrieve all the plugins installed on the site and … Read full article →