Home › Forums › Feedback › Consider filtering get_option calls to support get_option use for termdata › Reply To: Consider filtering get_option calls to support get_option use for termdata
Because get_options() is a WordPress core function, I’m afraid there’s nothing we can do with it.
James, it’s fairly straightforward. You’d just have to intercept the
get_field and pass that through a
add_filter ('get_option', 'acf_bc_term_meta'); with a function looking for
Pippin has some code which will do almost exactly what’s required, swapping
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!
© 2023 Advanced Custom Fields.