Open tridentmarketinguk opened 1 month ago
I did try to set this:
if ( is_admin() && current_user_can( 'activate_plugins' ) && ( is_plugin_active( 'advanced-custom-fields/acf.php' ) || is_plugin_active( 'advanced-custom-fields-pro/acf.php' ) ) ) {
but for some reason it the alert still shows - whereas if I just add
`if ( is_admin() && current_user_can( 'activate_plugins' ) &&
( is_plugin_active( 'advanced-custom-fields-pro/acf.php' ) ) ) {`
this works...
Hi, I'm using this on my site, however it didnt support ACF Pro so I just changed the code to check that instead of ACF.
Also, it wouldnt show any fields so I had to change the main code use the ACF get fields call:
` public static function get_options() { // The fields that the user can pick as a custom user login field. $field_options = [];
}`