15 | | causes my_function to be executed every time WP_Query applies filters for any query; I have no choice. Same for my_function2 and my_function3 which also want to filter posts_where, but for a different use case. All 3 of them, when hooked directly to posts_where, will each be executed every N times post_where filters are applied. Is there not some overhead in needless call_user_func_array() calls? |
| 15 | causes my_function to be executed every time WP_Query applies filters for any query; I have no choice. |
| 16 | |
| 17 | Same for my_function2 and my_function3 which also want to filter posts_where, but for a different use case. All 3 of them, when hooked directly to posts_where, will each be executed every N times post_where filters are applied. Is there not some overhead in needless call_user_func_array() calls? |