In

You're not currently permitted to view this content. Please log-in or register in order to view the page.

Division of Agriculture Logo | Farm LinkLocal Arkansas Farm | NWA Farm Link add_filter('acf/settings/show_admin', 'my_acf_show_admin'); function my_acf_show_admin($show) { // provide a list of usernames who can edit custom field definitions here $admins = array( 'user_name_1', 'user_name_2' ); // get the current user $current_user = wp_get_current_user(); return (in_array($current_user->user_login, $admins)); }