Home › Forums › ACF PRO › call_user_func_array() Throws error only on my custom taxonomies. › Reply To: call_user_func_array() Throws error only on my custom taxonomies.
call_user_func_array() is a function to execute a function by its name. So, you need to have the category, company and collections function. You can create the functions like this:
function category($args) {
echo "do anything you want with this function";
}
function company($args) {
echo "do anything you want with this function";
}
function collections($args) {
echo "do anything you want with this function";
}
I hope this makes sense.
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.