New answers tagged filters
0
votes
How to increase comment length?
Solved the issue. Thank you @birgire for giving me a hint. First I edited MySQL wp_comments table by changing comment_content rows «Type» from TEXT to MEDIUMTEXT and restarted MySQL. Then created ...
0
votes
Make the 'all' filter default instead of 'mine' in a custom post type
This accepted answer did not work for me since I'd get an error saying too many redirects after bulk trashing posts while viewing the screen. Instead of trying to redirect the URLs like in the ...
0
votes
Accepted
Filter hook for the action of listing users
Just like posts with WP_Query and pre_get_posts, there is WP_User_Query and pre_get_users that lets you modify the query parameters for fetching the users. This is the most efficient method of ...
0
votes
Shortcode from a widget is wrapped in unwanted <p> element
I first used the solution of @Trevor, but had some problems with it when the shortcode is inside a link. Thus, I came up with an alternate solution, that checks with regular expression whether the ...
Top 50 recent answers are included
Related Tags
filters × 2999hooks × 478
functions × 317
actions × 314
plugins × 239
php × 228
custom-post-types × 204
plugin-development × 187
wp-query × 146
posts × 135
the-content × 126
woocommerce-offtopic × 121
categories × 118
customization × 97
images × 94
menus × 94
shortcode × 94
search × 80
custom-taxonomy × 79
theme-development × 79
custom-field × 70
wp-admin × 63
widgets × 60
admin × 60
loop × 59