change_wp_native_post_content() change_wp_native_post_content() : mixed Change WP native job post content Returns mixed
before_job_content() before_job_content(string $content) : string Add JB block before the job post content Parameters string $content Returns string
after_job_content() after_job_content(string $content) : string Add JB block after the job post content Parameters string $content Returns string
cpt_template() cpt_template(string $single_template) : string Check if the Job has custom template, or load by default page template Parameters string $single_template Returns string
cpt_archive_template() cpt_archive_template(string $template, string $type) : string Change archive template Parameters string $template string $type Returns string
jb_change_archive_template() jb_change_archive_template( $pre_render, $parsed_block) : mixed Parameters $pre_render $parsed_block Returns mixed
add_cpt_meta() add_cpt_meta(array $types) : array Callback for twentytwenty WP native theme to disable showing post meta Parameters array $types Returns array
hide_post_thumbnail() hide_post_thumbnail(bool $has_thumbnail, int|\WP_Post|array $post) : bool Hide job thumbnail Parameters bool $has_thumbnail int|\WP_Post|array $post Returns bool
cpt_template_include() cpt_template_include(string $template) : string If it's job individual page loading by default Page template from theme Parameters string $template Returns string
jb_change_single_job_block_templates() jb_change_single_job_block_templates(\WP_Block_Template[] $query_result) : array Change block template for single job Parameters \WP_Block_Template[] $query_result Array of found block templates. Returns array
clear_title() clear_title(string $title, int $post_id) : string Return empty title Parameters string $title int $post_id Returns string
cpt_content() cpt_content(string $content) : string Set default content of the job page Parameters string $content Returns string
hidden_title_class() hidden_title_class(array $classes) : array Add hidden class if users need to add some custom CSS on page template to hide a header when title is hidden Parameters array $classes Returns array
output_structured_data() output_structured_data() : mixed Add structured data to the footer of job listing pages. Returns mixed
dropdown_menu() dropdown_menu(string $element, string $trigger, array $items = array()) : mixed Dropdown menu template Parameters string $element string $trigger array $items Returns mixed
set() set(string|array $path, array $parsed_block = array(), null $value = null) : array|mixed|null Parameters string|array $path array $parsed_block null $value Returns array|mixed|null
search_path() search_path( $needle, $haystack) : bool|int|string Parameters $needle $haystack Returns bool|int|string