2,101 reputation
22048
bio website tomauger.com
location Toronto, Canada
age
visits member for 3 years, 9 months
seen Dec 18 at 19:42

WordPress developer. Always learning. Hoping to contribute.


Aug
14
comment How do filters and hooks really work in PHP
@OfirBaruch, I'm pretty sure the OP was referring to their implementation in WordPress, and wasn't suggesting there was some native PHP implementation thereof.
Aug
14
comment How do filters and hooks really work in PHP
This is a great general overview of hooks and filters, but I'm afraid totally misses the OP's question, which is about the internals of how hooks work and how WordPress creates, stores and processes them. Great answer; you should probably link to your tutorial on WP Sites.
Aug
13
comment How do filters and hooks really work in PHP
don't forget that as it's going through the callbacks, it orders the execution of multiple callbacks on the same hook using their "priority", which is set (optionally) with add_action() and apply_filters() and defaults to 10.
Jul
24
awarded  Popular Question
Jul
22
comment Is it necessary to use wp_reset_query() in a WP_Query call?
Just for others reading this, since this is still the accepted answer (@Rarst's answer should be accepted). Since the OP uses the_post() in his code, best practices dictate that he must use wp_reset_postdata(). wp_reset_query() calls wp_reset_postdata(), so that will work, though the other thing wp_reset_query() does - resetting the $wp_query global variable - is not necessary, but not harmful in this case. So the answer is actually YES
Jul
22
awarded  Notable Question
Jul
11
comment Add 'title' attribute to stylesheets with wp_enqueue_style()
Yeesh. How very DIY of you! Thanks for posting your solution.
Jul
11
comment Creating a Lightweight Media Tags Plugin with a Custom Taxonomy
Ok, see the second part of my answer. Also, since you're new here, please don't forget to Accept the correct answer when you're done!
Jul
10
revised Creating a Lightweight Media Tags Plugin with a Custom Taxonomy
Added answer for second part of OP's question
Jul
10
revised Creating a Lightweight Media Tags Plugin with a Custom Taxonomy
Found problem, working on solution
Jul
10
revised Creating a Lightweight Media Tags Plugin with a Custom Taxonomy
Updated post to note that I do see one of the issues the OP mentions.
Jul
10
answered Creating a Lightweight Media Tags Plugin with a Custom Taxonomy
Jul
4
awarded  Popular Question
Jul
2
awarded  Revival
Jul
2
comment Why does get_term() require taxonomy? Are term_ids not unique?
Hi @kaiser, update it with what? I'm not sure that there has been any further positive movement toward a resolution of the Trac issues mentioned.
Jun
11
awarded  Popular Question
Jun
11
answered Multisite with a single, shared custom post type, while retaining site URL
Jun
5
comment Multisite with a single, shared custom post type, while retaining site URL
I've already been there, and that's why I created this question specifically. Thanks for the comment though.
Jun
4
awarded  Nice Question
Jun
2
awarded  Necromancer