Thursday 11 June 2020

I want to remove shortcode from content [vc_row][vc_column][vc_column_text]

$content = get_the_content(); 
$content = preg_replace("~(?:\[/?)[^/\]]+/?\]~s", '', $content);
$content = wp_strip_all_tags($content);
echo $content; 

### OR ###

$content = get_the_content(); 
$content = do_shortcode($content);
echo $content;

Monday 1 June 2020

How To Disable Automatic Updates in WordPress by Custom Plugin?


Using a simple plugin.

Did you know about automatic updates on the WordPress website?

Some time Some Core, Plugins, and Themes are auto-update in your live WordPress site.
That time you lose some custom changes and some other setting in your site.

How to prevent this type of loss and stop auto-update?
Let's follow these simple 4 steps:
1. Download the simple plugin WP Disable Automatic Updates
2. Upload in your WordPress site.
a. Go to in your Wordpress backend wp-admin menu > Plugins > Installed Plugins
b. Click on Plugin Add new button
c. Upload WP Disable Automatic Updates plugin (Not see any update list)
3. Active WP Disable Automatic Updates Plugin
4. Check-in Dashboard > Updates

Note: If you want to check any update in your WordPress site. You need to deactivate WP Disable Automatic Updates Plugin.