jobrelay_wpcon_job_schema_column_text hook

In this article

apply_filters( 'jobrelay_wpcon_job_schema_column_text', $text string, $post_id int, $result array )

Allows filtering of the hover text for a job in the Google for Jobs column of the job list. Google Indexing uses this to add what Google was last told about the job.

Parameters

  • $text (string) The hover text.
  • $post_id (int) The post ID of the job.
  • $result (array) The Google for Jobs result for the job, with status, reasons and schema keys.

Example

// add the job reference to the hover text.
add_filter( 'jobrelay_wpcon_job_schema_column_text', function( $text, $post_id ) {
	return $text . ' Ref: ' . get_post_meta( $post_id, '_job_reference', true );
}, 10, 2 );

All docs

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.