Useful WordPress Functions
Useful WordPress Functions Updated 11/8/2015 – Add Open Graph meta tags and custom post type.
This is a list of useful WordPress functions that I often reference to enhance or clean up my sites. Please be careful and make backups.
Hide WordPress Update Nag to All But Admins
Create Proper WordPress Titles
Create Custom WordPress Dashboard Widget
Remove All Dashboard Widgets
Insert Custom Login Logo
Modify Admin Footer Text
Enqueue Styles and Scripts
Enqueue Google Fonts
Modify Excerpt Length
Change Read More Link
Change More Excerpt
Disable Emoji Mess
Remove Comments
Change Media Gallery URL
Create Custom Thumbnail Size
Add Categories for Attachments
Add Tags for Attachments
Add Custom Excerpt to Pages
Create a Global String
Support Featured Images
Support Search Form
Excluding pages from search
Disable XMLRPC
Escape HTML in Posts
Create Custom Global Settings
Remove WordPress Admin Bar
Add Open Graph Meta Tags
Add Custom Post Type
Implement Preconnect to Google Fonts in Themes
Add Thumbnail Column to Post Listing
Add Lead Class to First Paragraph
Hide WordPress Update Nag to All But Admins
// Hide WordPress Update Nag to All But Admins
function hide_update_notice_to_all_but_admin()
Source: https://managewp.org/articles/13820/useful-wordpress-functions
source https://williechiu40.wordpress.com/2016/11/11/useful-wordpress-functions/