Now, that I have noticed Page List is a block widget. I think I have two solutions: a) Revert to classic widgets with the Classic Widgets Plugin and use the filter b) Create a new block and filter pages it my way. This one I think is much harder. Thanks to @jacob-peattie for the insight.
Related Posts:
- How can I modify the WordPress default widget output?
- How to hook into unregistering a widget instance?
- Filter Widget Title Wrap
- Is it possible to remove the filter from 4.8 text widget?
- Anyway to edit the titlebar of WordPress Widgets in the Admin area?
- WordPress tag cloud add more links
- How to add a class to Tag cloud widget link?
- How to make a widget expand wider than the column width when editing its settings in the admin
- Warning: Missing argument 2 for widget_title filter
- Add Bootstrap Classes to Recent Posts Widget
- include specific Pages to wp_list_pages with filter
- Shortcodes within the sidebar text/html widget: How to preserve the raw HTML output of the shortcode?
- I’ve set up an extra field for all the available widgets. How do I show it’s value in the front-end?
- Archive Widget – Count only parent posts
- Widget image reorganize layout
- How can I change the button text of a custom widget?
- WordPress Tag Cloud Filter Prevents Widget HTML from loading
- How can I add a prefix to titles displayed in sidebar using function.php?
- Filter WordPress Archive Widget to exclude posts with specific custom taxonomy term id
- Output dynamic_sidebar_params in wp_head
- Filter on widget-title does not work with custom links
- How to use apply_filters(‘get_calendar’) to change get_calendar() output?
- Woocommerce price filter widget always shows max price of most expensive product in the whole shop
- Disable emojicons introduced with WP 4.2
- add_action(), add_filter() before or after function
- How to appending to the_content using add_filter with custom post type?
- Why is javascript allowed in my post content?
- Adding a filter to qTranslate to change display of language chooser
- Custom Rewrite Rules Not Sticking
- Detecting Embed URLs Within post_content
- add_filter on “the_excerpt” only works when post does not have excerpt
- How can I display image metadata?
- How to prepend text to the_content, but after img/shortcode
- Format content value from DB outside of WordPress filters
- Can’t change the title tag with wp_title filter
- How to filter ‘post_gallery’ after all other filters/plugins etc
- Filter oembeds tags to modify iframe attributes
- Removing labels and tag on WordPress’s default login form
- How to add data- attribute to tag
- How to trigger the core WPLANG to make automatically set a language when the theme is activated? [duplicate]
- Making a class available via actions filters
- How to remove google font in WordPress for only single page?
- How do I filter get_the_excerpt() but keep all of its functionality intact?
- Remove tags from the kses filter
- How to get all the predefined do_action() calls from an active theme
- Is there a get_post(s) filter that can alter/replace the output completely?
- WooCommerce Variable Product Price – Where is “From” text generated from?
- Using ‘posts_where’ on a query with a custom field
- How to add numeric slug for child page in WordPress 5.9?
- add_filter does not work as expected
- Custom Login Errors and variables I can use
- Filter taxonomy admin pagination
- ‘the_content’ filter removing html tags from post content
- Custom view counts not updating correctly
- Using wp_handle_upload() to Direct Specific Path by Using $overrides
- Filter to shorten column content on edit-tags.php
- Create Search Form to Filter Through Terms
- Formatting get_post content doesn’t allow JS content to function properly
- Proper after_setup_theme and wp_head cleanup
- add_filter with retrieve_password_message() not working in plugin, but works in functions.php
- How to check if a protected hook is hooked?
- Add a div of content within the_content after a certain block
- Gutenberg Block – Post Featured Image Filter Hook
- Can i use multiple ‘the_content’ filters?
- Prevent add_filter being applied to wp-admin pages
- Translate custom order status through a filter?
- Using preg_replace() with the_content filter
- term_link filter gives less atributes
- Add mime types with plugin
- Is there a way to globallly apply esc_html( … ) to all inputs and anchors to filter out XSS markup?
- Handle multiple parameters in filter
- Want to use wp_get_current_user() in query filter
- WP 4.5 hide core customizer sections
- Echo string in admin panel footer beside version no
- How to change default text for specific post type
- Add PHP code after title in single post pages?
- Apply wordpress filter checking category
- Custom nav walker: How to acces the $args parameter?
- How to stop the deduction in “wp_term_taxonomy” count, when the post is deleted?
- alternative to the_content filter
- Same URL for portfolio and for a page creates 404 error. Is there any filter that i can use for a child page?
- Filter widget_posts_args not working
- How to pass a variable between filter/action functions?
- how to unescape wordpress output
- Database & Post Search
- login_url filter creates permanent wp-admin -> wp-login redirection loop
- Hide a specific post from Archive Feed
- Restrict access to custom post type and filter from every query
- How to use the filter ‘widget_text’ to a particular text widget with id
- Post Type Upload Directory – {post_type}_upload_dir filter
- Custom xmlrpc request does not pass parameters?
- Hook into ‘when user logs in’ [persistent login]
- Problem with shortcodes in external file
- WordPress URL rewrite problem
- How to turn this customized core function into a filter/action in functions.php?
- Which hook should be used in this case?
- Categorize posts on a page o the basis of category of other post on the same page
- manage_users_custom_columns filter not firing callback functions
- Conditionally including JS based on whether ACF field is set [closed]
- How to add custom HTML attribute to reusable block div in WordPress admin