Manipulating/view postmeta remotely

You can modify the arguments of the post type to enable the REST API: function wpd_tribe_events_args( $args, $post_type ) { if ( ‘tribe_events’ == $post_type ) { $args[‘show_in_rest’] = true; } return $args; } add_filter( ‘register_post_type_args’, ‘wpd_tribe_events_args’, 20, 2 );

Notify Jenkins of new post on WordPress

Take a look at some of WordPress’s Actions & Filters – in particular, you might want something like publish_post: function my_custom_post_action( $post_id, $post ) { // Send out data to your service using something // like wp_remote_request: // https://codex.wordpress.org/Function_Reference/wp_remote_post } add_action( ‘publish_post’, ‘my_custom_post_action’, 10, 2 ); You may need to ensure that the post is … Read more