Hide Freelancer Admin Pages

Freelancer is purposefully subtle in its naming and admin presence, to help keep the name and brand of the WordPress Freelancer Developer at the forefront of their client’s minds. And to go even further with this mindset Freelancer provides simple solutions for hiding the Theme Settings and/or Theme License admin pages. To do so you simply need to define the following constants inside your Child Theme’s functions.php file like so:

// Hide the Theme Settings admin page from the WP Dashboard sidebar.
define( 'FREELANCER_SETTINGS_PAGE_HIDE', true );

// Hide the Theme License admin page from the WP Dashboard sidebar.
define( 'FREELANCER_LICENSE_PAGE_HIDE', true );