How do I hook all http requests in wordpress? More specifically I am interested in examining an http header in the request and then potentially modifying headers in the...
UPDATE: I have worked out my implementation of the selected answer at the bottom of this post. I’m implementing a sorting algorithm based on Reddit’s hotness algorithm, in addition...
I need to intercept the scripts that are added in the footer and head through the wp_footer() and wp_head() functions, something like add_filter('wp_footer', my_function) and then in my_function, I...
In a plugin I have a payment form that needs to be submitted (via the action= attribute) to a .php file, also located in my plugin directly. After some...
I am stuck on this one and it’s probably a really simple answer but can anyone please shine some light on how to add a filter menu with an...
I’m trying to create a submenu page under ‘Users‘ which is like the ‘All Users’ page but for listing users of specific roles only. Let’s just call this submenu...
I’m working on a project with several custom post types, where one of the post types is naturally (but not actually in the WordPress sense) the ‘parent’ of the...
I’m developing a plugin that is using the comments table with custom comment_type for CPT replies. The problem was that, I’s getting replies to my CPT in Comments page...
I’m using posts_where filter in order to modify the user searches on a web, but i find out that some default widgets like the “more recent posts” uses this...