Which function exactly being called by call_user_func Plz read message below
-
I have been tracking out Hows wordpress insert new posts alongwith their categories into database and updating tables wp_posts,wp_term_taxonomy, wp_term_relationships etc…
While tracking down file taxonomy.php at wp-includes/ folder I stumbled at following function
call_user_func($taxonomy->update_count_callback, $terms, $taxonomy);
insidefunction wp_update_term_count_now( $terms, $taxonomy )
function.I am not sure exactly where call_user_func call is going.
As I echoed$taxonomy->update_count_callback
it displayed text
_update_post_term_count
.As I know
call_user_func
calls function in first argument but whatever is the function in first argument above is complex.Anyone please help me how to trace this function ?
- The topic ‘Which function exactly being called by call_user_func Plz read message below’ is closed to new replies.