I think the better way to handle it would be to have the other site scrape the feed for the content. Alternately, you could call an API on the receiving server with every execution of the publish_posts
hook, but this would leave you with the issue of not being able to concurrently edit. Another solution is to allow your server to query the WordPress database and pull the data you need from the posts table.
Related Posts:
- REST-API: extend media-endpoint
- Create or Update thousands of woocommerce products via PHP
- Best way to hook a custom url?
- How can I add an options page for my class based plugin?
- How to modify WCMP Rest API response?
- wp_remote_get() returns 403 while file_get_contents() does not
- Great blogs site resources/tutorial for WordPress Developers? [closed]
- Integrating boxtal PHP library into a custom WordPress Plugin
- is it possible to fetch data from a remote api while admin is writing a new post?
- One time call to external API in widget
- wp_remote_post To external API multiple values with the same key
- How to use information from the database in the front-end?
- what is the best way to create a premium plugin while also protecting your code
- create web service for android app using wordpress website
- API Functions to Register and Show WordPress List Tables
- How can I send api calls from my plugin?
- Is it possible to create post in wordpress using postman?
- move setting data from wordpress api to codestar freamwork
- WordPress plugin from own server
- How to avoid plugin name conflicts from the upgrade notifier?
- Show Similar Post Titles ( Similar to Stack Exchange )
- Is their any way to Extend WPDB class and Overwrite the Default Query Function
- Add content to /wp-admin/plugin-install.php admin screens
- How do I only load a plugin js on it’s settings pages?
- Need a function for changing saved post_date or post_date_gmt to relative time in wordpress
- Activate Plugin which is in subfolder?
- Can’t use /wp-json/wp/v2/plugins API endpoint even as administrator
- Use functionality of 2 wordpress plugins
- Does the WordPress API have Modal Dialogs
- Autoload via composer in plugin interference
- Can WordPress plugins “Talk to each other”?
- How do I store information in a dynamic block in WordPress?
- How to create custom embed block in gutenberg wordpress
- Plugin exceeds memory limit
- Find the URL of the current plugin directory
- How can sanitize $_FILES[‘haq_slider’] field
- Plugin Paths Issue
- How to generate video out of images via WordPress plugin
- My plugin wants to update another plugin
- How do I create a custom add media button modal?
- Help With MySQL to WPDB Query Conversion
- code is working properly in Core PHP but writing coding in WordPress
- Using SVN to upload plugin created with gutenberg blocks
- Force quit running background job
- Custom plugin init action causing general slowness
- Check if plugin exists/active “class_exists()” does not work on plugin territory
- How to get the permanent link in a plugin?
- Duplicate results are displayed in a custom plugin [closed]
- Plugin is a widget, but I want to call it in the head, can I?
- Disable Individual Plugins (specifically in Custom Post Types) on a per-post basis?
- custom uploader in the admin area
- Best/Correct way to add an option to a category
- Basic question about accessing scripts in my plugin
- I receive taxonomy id
- Loop in elementor custom widget not working
- Error with get_price (and others) in self-written plugin to show price
- How to Include Fields in Query String When Making Request of WordPress.org Plugin API?
- How to access OOP plugin function inside themes or other plugin
- change or add css to theme from plugin
- WordPress Widget Not Saving Instance
- Issue with wp_handle_upload
- Different registration form for different roles
- Custom Fields for Page Edits
- How do I remove all traces of a plugin?
- Is it possible/advisable to set last stable version to previous version?
- How to make sure settings are not lost when plugin is updated?
- How to solve conflict with scripts?
- How do I display PHP file contents on front end of WordPress?
- How can replace this url
- Access “wp site health info” data from plugin
- WordPress Frontend Page using Plugin
- How to overwrite a plugin?
- How can I translate something in my class constructor of my plugin in WordPress?
- Define global variable in theme file and call that variable in plugin file
- SimpleXML is not working with xml response from external api
- Custom Plugin Update
- Custom wp_list_tables redirect on specfic page
- Create API for registering user on wordpress site with 3rd party site
- Hook to display element as product on category page
- Missing files in enqueue actions causes WordPress to reload
- I can’t use WP_Query
- Adding/ Removing actions for plugins
- Get input form data posted by users
- WP Plugin: Print javascript in header
- wp_verify_nonce fails always
- Custom Plugin: Point to `template_directory`
- Adding list of Indexes in wordpress document
- How to save default values into an option and delete those upon actvation and deactivation in wordpress?
- Plugin options not appearing on options page using tabbed navigation
- Add custom fields in the new and edit the site forms without touching the WP core
- Extend WordPress REST API with Scheme Pro Plugin
- How to submit the custom form data in database in WordPress without plugin?
- map urls to plugins
- Embed php code in custom field of a plugin [closed]
- Why haven’t I see plugins using get_file_data to handle retrieving plugin version?
- wp_handle_upload – specified file failed upload test
- how to make wordpress remember my choice
- Running a function using Crown WordPress on one day a week, for example, Mondays of every week
- How to make a Template page to show the information of different things Shop and Product page?
- wordpress admin-ajax bad request 400