This github repo has bdn.getPosts
extended XML-RPC function to get category.
Get 10 most recently modified posts in the sports category ($category can be either a slug or an ID)
`array( 1, $username, $password, 'post', 'sports', 10, array( 'orderby' => 'modified' ) );`
Related Posts:
- xmlrpc_enabled filter not called
- Store source permalink on XMLRPC calls
- How Can I Have A URL Changed Based on the Originating URL?
- Filter custom post types in archive
- Filter Posts by current Month
- Is it possible to apply filter to meta key value when querying posts?
- Want to use wp_get_current_user() in query filter
- Access post ID in “content_save_pre”
- Excluding posts by meta, and also keeping posts without the meta
- Customising the default wordpress search functionality
- WP_Query filter by custom meta
- List all categories that have results in a query
- Display posts from today and future in Elementor ‘posts widget’
- Having issue with dynamic data within restrict_manage_posts function
- Displaying posts on a page that have been assigned a value in a database
- Add option to query string before get_posts() is called on archive.php
- Filter on the day of the week from timestamp
- Admin view: filter posts by whether they have specific taxonomy attached
- Restrict access to custom post type and filter from every query
- Why none of xmlrpc filters work
- Custom xmlrpc request does not pass parameters?
- get_the_excerpt on mobile still displays continue reading
- Adding an orderby filter, casting postmeta with multiple keys
- Clean/filter HTML inserted to post content by XML RPC
- Query Multiple Filters, one with Meta
- How to show page content in feed?
- Sanitize and data validation with apply_filters() function
- How many filter/action hooks are healthy?
- remove_filter( ‘the_content’, ‘wpautop’ ); only for certain post types
- Valid characters for actions, hooks and filters
- How to hook into unregistering a widget instance?
- How do I use the ‘http_request_host_is_external’ filter
- get_option() filtering and getting out of recursion
- Get excerpt from $post->post_content
- AJAX filter posts on click based on category
- How can I filter Microsoft Word gunk from pasted content?
- Can I add custom meta for each image uploaded via media-upload.php?
- How do I know if author field was changed on post save?
- WordPress 3.5+ upload tool filter
- 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 check a filter are applied
- How do I add a listbox to the TinyMCE editor?
- 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?
- How to add a class to Tag cloud widget link?
- 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?
- add_filter does not work as expected
- Custom filter in admin edit custom post type responding with invalid post type?
- Filter taxonomy admin pagination
- Custom view counts not updating correctly
- Using wp_handle_upload() to Direct Specific Path by Using $overrides
- How to create Woocommerce Product Filter Widget [closed]
- 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
- Why doesn’t remove_action work in my plugin?
- Upload restrictions – upload_mimes – filter: Adding multiple MIMEs for a single extension and adding multiple extensions for a single MIME type?
- How can I change the email that is inside the default email texts of wordpress?
- Modify message displayed on post save
- Something is filtering my shortcodes… Can’t figure out what
- Pass debug_backtrace() in WordPress filter
- Remove actions/filters that are set with create_function()
- I need to hook and change language of facebook sdk
- change “missing attachment” text functions.php
- Use has_filter on comment_post
- Get current taxonomy and display query accordingly
- return get_the_tag_list with whitespace removed
- How do I add tags to entire comments, not just their text
- Modify author url display in edit-comments.php
- add_filter( ‘the_title’ gets through this if statement twice
- Changing the category for existing Gutenberg blocks
- Filter Post Title without affecting screen-reader-text
- Modify WordPress Page Title ()
- How to add lazy field in content endpoint using Gutenberg blocks
- how to use apply filter for Class?
- How can I see exactly what arguments are being passed through a filter so that I may modify them?
- Widget image reorganize layout
- Set Microsoft Word links to open in new window/tab
- WordPress get_avatar filter to match logins
- Modify category listing API response
- Auto-generated excerpt with shortcode and read more button/text link
- Change shortcode output (filter?)
- How do I add a class to all sidebars to let a Google Custom Search Engine know not to index the content?
- How to replace all images in all posts and pages with a different size?
- How to add a class to Buddypress avatars in the Activity stream? [closed]
- Updating User Profile on Registration
- ACF Load Field Groups Programmatically [closed]
- Why does using excerpt_more filter change link location?
- Replacing text using add_filter
- Background color and background image below element in Contact Form 7 – error tip [closed]
- Change password reqts with NO plugin without breaking resetpass link?