How to require packages for Administrators

By default in the new WP Job Manager Packages plugin, the configured restrictions are not enabled for Administrators.  If you want to require Administrators to have a package on the frontend of your site, you will need to add the following to your child theme’s functions.php file, or as a code snippet in using the Code Snippets plugin:

functions.php

add_filter( 'job_manager_packages_admin_required_packages_frontend', 'smyles_packages_demo_admin_require_packages' );

function smyles_packages_demo_admin_require_packages(){
	return true;
}
Total 0 Votes

Tell us how can we improve this post?

+ = Verify Human or Spambot ?