Support

Account

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