Reputation
1,263
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
8 10
Newest
 Enlightened
Impact
~45k people reached

Jan
27
awarded  Enlightened
Jan
27
awarded  Nice Answer
Jan
25
answered Should I use Transient API to store HTML String, or Object?
Oct
19
awarded  Yearling
Sep
4
comment Cancel/Stop a currently ongoing scheduled cron event?
Is this a one-time thing or would you like to be able to cancel a cron event from somewhere on a regular basis, perhaps from another PHP script?
Jul
30
comment WP_Comment_Query() displays “password protected” comments?
Yeah, so that query makes sure comments are taken for published posts only. Why do you think it's returning comments for private posts as well? Can you print_r the returned set and check the post ID's against the database posts table?
Jul
29
comment WP_Comment_Query() displays “password protected” comments?
You can do it with a plugin like Query Monitor or the Debug Bar series.
Jul
29
comment WP_Comment_Query() displays “password protected” comments?
so $comments = WP_Comment_Query( array( 'post_status' => 'publish' ) ); give you comments to private posts? Could you post the resulting SQL query?
Jul
29
answered get_post_type_object() does not work with switch_to_blog()
Jul
29
comment WP_Comment_Query() displays “password protected” comments?
Could you post the code that queries your comments, as well as the resulting SQL statement?
Jul
29
comment Add custom filter to register data in array
So what does your print_r output? Is it working as expected? I'm having a hard time understanding the question. Can you provide more details?
Jul
29
comment How to pass a PHP $_GET variable and fetch/output it?
It's strange that $_GET['foo'] doesn't work. What about standard WordPress query variables, does ?s=foo in the URL result in a search? Can you output $_GET['s'] in the code?
Jul
29
answered Add delay to publish post
Jul
29
comment Add delay to publish post
Can you tell us more about your servers setup? Are you using a distributed filesystem? How are you mirroring your files to other servers?
May
14
awarded  Tenacious
May
4
comment add_action(), add_filter() before or after function
It works not because PHP parses the whole document, but because call_user_func_array() is (most likely) called after your function definition when running do_action. So you can define the hooked function anywhere up to that point.
May
4
answered generate an auto incremented id number when a new user is registered
May
4
answered Query post only from categories that have subcategories
Apr
9
comment ECHO Executing 4 Times In Head
If your code is executed four times, it means the the_content filter is applied four times. Do you still get 4x with all plugins deactivated?
Apr
8
answered Widget Script Loads at Bottom of Page