jobrelay_wpcon_after_job_schema_meta_box_status hook

In this article

do_action( 'jobrelay_wpcon_after_job_schema_meta_box_status', $post WP_Post, $result array )

Fires after the Google for Jobs status at the top of the JobRelay Data box on the edit job screen. Google Indexing uses this to show what Google was last told about the job. It only fires for jobs sent by JobRelay when Output Google for Jobs markup is ticked.

Parameters

  • $post (WP_Post) The job post.
  • $result (array) The Google for Jobs result for the job, with status, reasons and schema keys.

Example

// show the job's post id under the status.
add_action( 'jobrelay_wpcon_after_job_schema_meta_box_status', function( $post ) {
	echo '<p>Post ID: ' . absint( $post->ID ) . '</p>';
} );

Can’t find what you need?

Our integrations team set up every JobRelay site, so they know it inside out. Get in touch and we’ll help.