WHAT'S NEW?
Loading...

How to remove extras options from WordPress dashboard profiles

First you need to create a child theme. Creating a child theme when performing adjustments to your theme’s code can save you a lot of future headache. Child themes allow you to make changes without affecting the original theme’s code, which makes it easy to update your parent theme without erasing your changes. 

Use this plugin to generate your child theme

https://wordpress.org/plugins/child-theme-generator/

Child themes work on a file-level. When a file is used during the process of loading a theme it checks if it is present in the child theme. If it is, the content of that file is used. If it isn’t, the same file in the parent theme is used. There is one exception to this rule, the theme’s functions file. The functions.php file in both the parent and the child theme is loaded. 

To remove extras options from WordPress Profiles in the Dashboard, you can simply add codes to your child themes functions.php file. Please remember to move all your custom codes from parent themes functions.php file to child themes functions.php file.

this is the function to add in your file.

0 comments:

Post a Comment