Home › Forums › ACF PRO › ACF 5 PRO Wonky Admin Styles › Reply To: ACF 5 PRO Wonky Admin Styles
Hi guys.
I have removed the auto url / path finder function due to issues on specific server setups and opted for the default wp_plugin function.
You can hook in and customize the url / path like so:
add_filter('acf/settings/dir', function( $dir ){
return 'custom/dir/to/acf/folder';
});
add_filter('acf/settings/path', function( $path ){
return 'custom/path/to/acf/folder';
});
You can also filter the show_admin setting and return false to hide all ACF admin stuff
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.