Disable WooCommerce Marketing menu
Add the following code to the functions.php of your active theme.
add_filter( 'woocommerce_marketing_menu_items', '__return_empty_array' );
This will remove the following Marketing menu added in WooCommerce 4.0


Add the following code to the functions.php of your active theme.
add_filter( 'woocommerce_marketing_menu_items', '__return_empty_array' );
This will remove the following Marketing menu added in WooCommerce 4.0


You might have noticed on many websites that they highlight their author’s comment by making it a different background color and style. Highlighting post author comments is useful, if you receive a large number of comments on your website and you want your visitors to easily identify post author’s responses in the comment list. This…

When you are developing a site, you have to refresh page lot of times and you start to get a pretty good feel for what your browser is going to pick up on a single refresh, and what it won’t. For example, I find that if I overwrite an image file on the server, it…

We already shared how to add excerpt support for pages and change excerpt length for different categories. In this article we will discuss, how to change default value of post excerpt length in WordPress without using a plugin. The default WordPress excerpt limits your post to 55 words but sometimes 55 words aren’t enough to…

The WordPress Excerpt is an optional summary or description of a post; in short, a post summary. One of the wonderful thing about Excerpt is that it replaces the full content in RSS feeds when the option to display summaries is selected in reading settings. Usually bloggers use excerpts on post stream and archive pages…

Post comments are an important part of any blog, they give your visitors a way to engage with the author of the article. But with the benefit of comments on article there is also a lot of disadvantages especially with WordPress. Comment spam is the main and very common problem with WordPress and every blogger…

By OutsourcedContent — on September 12, 2017 boolval() is a PHP function that was introduced in PHP 5.5. If you try to use it on a server that runs PHP 5.4 and lower, you will get an error like this: Fatal error: Call to undefined function boolval() in /path/to/file/file.php on line 12 To fix this…
