Home › Forums › General Issues › ACF form post object field not loading › Reply To: ACF form post object field not loading
It had something to do with hiding the dashboard function for loggedin users.
function disable_dashboard() {
if (!is_user_logged_in()) {
return null;
}
if (!current_user_can('administrator') && is_admin()) {
$link = get_author_posts_url( get_current_user_id() );
wp_redirect($link);
exit;
}
}
add_action('admin_init', 'disable_dashboard');
i remvoed this now and its working 🙂
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.