[wp-hackers] register_*() vs. add_*()?
mikeschinkel at newclarity.net
Sat Mar 19 18:17:46 UTC 2011
I'm trying to understand the rationale between prefixing core functions with "register_" vs. "add_" as a prefix. I can't seem to recognize why one is used at times and the other is used at times. Examples from core:
I'm working on code I could envision offering up as proposed additions to core so that's why I'm interested in the difference.
Thanks in advance.
P.S. I think I asked this question on trac before but didn't get a good answer.
More information about the wp-hackers