Home › Forums › General Issues › Help! True / False to include or exclude featured image in wordpress. › Reply To: Help! True / False to include or exclude featured image in wordpress.
1) You have to make sure you’re calling remove_action() after the corresponding add_action() is called by using the correct hook and priority. More than likely you’ll need to put this inside another action that is called at the right time. For example on the WP “init” hook.
2) Make sure that you are using the same priority that is used for the add_action() call.
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.