What you need to do to disable the update of the plugins in WordPress is simple. We will first edit the following code by ourselves. In the WordPress plugin directory we will enter the plugin directory we want to cancel updating and find the main plugin file. We will place the code we have arranged according to ourselves in the function.php file and after the plugin update warning in the WordPress admin panel will be gone…

If you want to delete the site heading in the WordPress mail function “[Sitename] Forgot Password” for example. You need to add_filter the WordPress wp_mail function. We will make the function work by putting the following code in function.php page then it will filter wp_mail function for replace sitename to wordpress email subject easy and short code for wordpress…

I will show you how many times you have watched your WordPress singles page and how to record it in the database. We can take and record in WordPress post_meta how many times you look at which page. We will make the function work by putting the following code in function.php page then we will trigger the function by putting the other code on a single.php page…

You can get wordpress author name by post id like that. We first take the WordPress post author’s id after we take the WordPress post author’s name from the WordPress post author id if you want user_nicename field you can get other fileds if you want. Valid fields user_nicename, display_name, nickname, first_name, last_name for the WordPress post author names…

You can get wordpress author id by post id like that. Using the get_post_field() function, we can extract the post_author field with the $post_id variable. Other fields we can extract post_content, post_author, post_title, post_name (slug), post_excerptpost_statuscomment_statuspost_parentpost_typecomment_count, post_date, ping_status, post_modified and etc….

I will explain below how to show pending post count wordpress admin panel for default post type and custom post type. The following code will show the number of pending posts in the WordPress admin panel, you just need to add this code to the function.php file. You can add it to the $types array if you want to show the count number of pending posts in custom post type….

This feature came in WordPress 4.2. If you do not want to use emoji in WordPress, you can remove Emojicons from WordPress by following the steps below without plugin. You just need to put the following code in the function.php file.  The following code will completely remove emoji from anywhere in your WordPress site. All emojicons  will be deleted completely from WordPress….