Just added a Filter for that custom field
`
add_filter(‘acf/fields/user/query/name=customfieldname’, ‘acf_refernt_field_filter’, 10, 3);
function acf_refernt_field_filter( $args, $field, $post )
{
// modify get users args of that field
$args[‘role’] = ‘my-custom-user-role’;
return $args;
}
`
Just added a Filter for that custom field
`
add_filter(‘acf/fields/user/query/name=customfieldname’, ‘acf_refernt_field_filter’, 10, 3);
function acf_refernt_field_filter( $args, $field, $post )
{
// modify get users args of that field
$args[‘role’] = ‘my-custom-user-role’;
return $args;
}
`
Thank you for your hint!
define( 'WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . 'content' );
had a /
before the content
You are right!
<link rel='stylesheet' id='acf-global-css' href='http://domain.com/wordpress/www/htdocs/w010bdef/domain.com/wp-content/plugins/advanced-custom-fields/css/global.css?ver=4.3.2' type='text/css' media='all' />
<link rel='stylesheet' id='acf-css' href='http://domain.com/wordpress/www/htdocs/w010bdef/domain.com/wp-content/plugins/advanced-custom-fields/css/acf.css?ver=4.3.2' type='text/css' media='all' />
This part is to much:
wordpress/www/htdocs/w010bdef/domain.com/
Just to know, my Domain is linkt to the following Rootpath directory:
/www/htdocs/w010bdef/domain.com/
i have no only two other plugins… so there are no issues