how to hide a plugin from wordpress plugins page - How to hide a plugin from the WordPress plugins list 🙈

How to hide a plugin from the WordPress plugins list 🙈

wp-admin/plugins.php displays the plugins list table using the array $plugins_all which contains information on all installed plugins. We can use pre_current_active_plugins hook to perform actions before the plugin information is displayed on this page. TIP: The best way to understand what a hook does is to look at where it occurs in the source code. … Read full article →

Display all Active WordPress plugins - Display all Active WordPress plugins

Display all Active WordPress plugins

Here is a simple WordPress plugin that will create a [activeplugin] shortcode: Add it as plugin and activate, then add shortcode [activeplugins] anywhere on your website and it will display all active plugins:

Show Last Updated date for Posts - Show Last Updated date 📅 for Posts

Show Last Updated date 📅 for Posts

Here is a simple code snippet that you can add to your theme functions.php file to show the “last updated” date in your posts. A new line will be added to the beginning of the post content if the last modified and published time is different:

top 5 woocommerce zoom product image plugins - Top 5 WooCommerce product image zoom plugins 🔎🖼️

Top 5 WooCommerce product image zoom plugins 🔎🖼️

Are you looking for the best WooCommerce product image zoom plugin? Are you considering adding zoom options to your e-commerce products? Here are some of the best WooCommerce product image zoom plugins available on the market. Why you should use product image zoom plugin for your WooCommerce store? YITH WooCommerce Product Gallery & Image Zoom The YITH WooCommerce Product Gallery & Image … Read full article →

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

How to delete all comments in WordPress - How to delete all comments in WordPress? 🗑️💬

How to delete all comments in WordPress? 🗑️💬

WordPress uses the wp_commentmeta and wp_comments tables to store comments and their data. To delete all comments in WordPress simply empty those tables in the database: To delete all spam comments use: To delete all unapproved comments use: NOTE: In the above commands change wp_ prefix with the table prefix that you are using *(view … Read full article →