Skip to main content
coolpasta's user avatar
coolpasta's user avatar
coolpasta's user avatar
coolpasta
  • Member for 6 years, 7 months
  • Last seen more than 5 years ago
5 votes
2 answers
107 views

What's the case against transient-ing almost everything that's mostly static?

5 votes
3 answers
12k views

Is 'no_found_rows' a silver bullet for WP_Query optimization when getting all posts of a certain type?

4 votes
1 answer
9k views

Why does /wp-json/ not work on the "plain" permalink structure?

2 votes
1 answer
601 views

What do the args for Gutenberg subpackage "hooks" function "doAction" mean?

2 votes
2 answers
924 views

How does WordPress ensure plugins run at the same time and how does it solve a plugin's dependency on another one?

1 vote
1 answer
536 views

Can we assume that /wp-json/ will always be /wp-json/ under any circumstances when creating custom REST routes?

1 vote
1 answer
46 views

Are there sub-systems in WordPress that would employ data structures beyond CPT that a `get_posts` won't be able to catch?

1 vote
2 answers
1k views

How would I hook into `clear_auth_cookie` to return the user's ID that's currently being logged out?

1 vote
1 answer
3k views

How do I hide the current page's title?

1 vote
0 answers
79 views

Is wp_kses the right approach in sanitizing this string?

1 vote
3 answers
2k views

Is this a correct usage of esc_html_e?

1 vote
1 answer
129 views

How can I redirect to my custom page without loading the Dashboard itself?

1 vote
1 answer
170 views

Are the hooks in the dashboard such as "load-$page_slug$" and "admin-head-$page_slug$" reliable and consistent throughout installs?

1 vote
1 answer
1k views

What version of React does Gutenberg use?

1 vote
1 answer
1k views

How can I wp_send_json data?

1 vote
0 answers
36 views

Should I check for privileges before hooking into `wp_ajax_$handle` or after?

1 vote
0 answers
33 views

What is the downside of using a filter as a "poor man's" dependency injection?

0 votes
0 answers
26 views

Don't filters violate the a class' local variables visibility rules?

0 votes
1 answer
83 views

Is querying wpdb directly and skipping actions provided by WP's core "wp_update_post" a good idea?

0 votes
1 answer
200 views

Where exactly should I hook in order to change the post's ID before insertion in the database?

0 votes
1 answer
100 views

Is there an optimized, WordPress-y way to not call a `get_option` twice?

0 votes
1 answer
831 views

What's the latest I can hook into wp_ajax_%?

0 votes
1 answer
137 views

Why doesn't wp_delete_post allow trashing for custom types?

0 votes
1 answer
140 views

Why doesn't add_filter have the option to include a callback for each run?

0 votes
1 answer
472 views

How does WP's cache maintain persistence through page reloads?

0 votes
0 answers
21 views

Why does my child theme's enqueue of styles mess up the order of script enqueues from the main theme?

0 votes
1 answer
310 views

Why can't I call a function from inside my registered AJAX function?

0 votes
1 answer
2k views

Why does my wp_safe_redirect output the ERR_TOO_MANY_REDIRECTS error?

0 votes
1 answer
19 views

How do I flush a conditioned control's value if the parent control has been unchecked?

0 votes
2 answers
358 views

Why does my hand-written plugin installer fail to find `request_filesystem_credentials`?