Home › Forums › Backend Issues (wp-admin) › Adding Options to a CPT edit.php page in CMS › Reply To: Adding Options to a CPT edit.php page in CMS
Thanks John.
I found and tested this:
if ( current_user_can('manage_options') ) {
add_action( 'load-edit.php', function() {
add_filter( 'views_edit-cptname', 'function_name_to_Call' );
});
}
It loads in content into that header above the table perfectly, i can load in ACF field values but i cannot get the form in.
I haven’t tried acf_form() yet
Maybe i’ll mess about with it first.
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.