Refresh Mail Dir Size in Cpanel

Often times I am finding myself wanting to know how much space is being used up by an account after deleting a bunch of items. CPanel is known for updating it every so often throughout the day, maybe every 4 hours or so but I don't really know. So as admin you are...

Regex Syntax – Frequently Used

The following is common Regex Syntax that frequently is used when Writing a Redirect. ^ – Match only if the following is at the beginning of the line $ – Match only if the previous is at the end of the line ? – Match the previous 0 or 1 times (makes it optional) . –...

Remove Emoji Changes in WordPress

So WordPress has some emoji detection and modifications that get made by the core WordPress install.  Here is some code that you can put into your functions.php file to disable this as it can sometimes cause issues in other browsers like Safari. // REMOVE EMOJI ICONS...

Remove Video Download Link in Divi Video Box

So there are times where you want to try to protect the video on a page. Here is the jQuery that you should use. <script> jQuery(document).ready(function() { if (jQuery(‘.et_pb_video_box').length !== 0) {...

Rename of Project Permalink in Divi

Put this in the functions file. function custom_project_name () { return array( ‘feeds' => true, ‘slug' => ‘videos', ‘with_front' => false, ); } add_filter( ‘et_project_posttype_rewrite_args', ‘custom_project_name ‘...