FiltersBlocks

Block

Block Rendering

Filter NameParametersDescription
awsm_jobs_block_attributes_set$block_atts_set, $blockattsModify the list of attributes used for rendering the block.
awsm_jobs_block_output_content$block_contentModify the final rendered block HTML before it is returned.

AJAX / Filter Handling

Filter NameParametersDescription
awsm_jobs_block_post_filters$attributes, $_POSTModify block attributes after POST data is parsed (filter AJAX request).
awsm_block_no_filtered_jobs_content$no_jobs_contentModify the HTML shown when no jobs match the applied filters.

Query Arguments

Filter NameParametersDescription
awsm_job_block_query_args$args, $filters, $attributesModify WP_Query args used for the job listing block.

Data Attributes

Filter NameParametersDescription
awsm_block_job_listing_data_attrs$attrs, $block_attsModify the HTML data-* attributes added to the job listing wrapper.

Filter Terms

Filter NameParametersDescription
awsm_block_filter_terms$terms, $taxonomyModify the terms shown in a filter dropdown for a given taxonomy.

Search Field (Top Placement)

Filter NameParametersDescription
awsm_jobs_block_search_field_placeholder$placeholder_textModify the search field placeholder text (top filter bar).
awsm_jobs_block_search_field_content$search_contentModify the full search field HTML (top filter bar).

Search Field (Side Placement)

Filter NameParametersDescription
awsm_jobs_block_search_field_side_placeholder$placeholder_textModify the search field placeholder text (sidebar placement).
awsm_jobs_block_search_field_content_placement_side$search_contentModify the full search field HTML (sidebar placement).

Filter Dropdowns

Filter NameParametersDescription
awsm_active_block_job_filters$available_filters, $block_attsModify which filter taxonomies are displayed in the block.
awsm_job_filter_block_option_content$option_content, $term, $taxonomyModify individual option HTML inside a filter dropdown.
awsm_filter_block_label$filter_label, $taxonomy, $tax_detailsModify the default "All …" label of a filter dropdown (top placement).
awsm_filter_block_dropdown_label$all_spec_label, $taxonomy, $tax_detailsModify the "All …" label in the sidebar dropdown filter.
awsm_job_filter_dropdown_content$dropdown_contentModify the full HTML of a filter dropdown element.

Filter Toggle Button

Filter NameParametersDescription
awsm_job_filters_block_toggle_btn$toggle_controlModify the "Filter by" toggle button HTML.

Filter Block Output

Filter NameParametersDescription
awsm_filter_block_content$filter_content, $available_filters_arrModify the entire rendered filter form HTML (top placement).
awsm_filter_block_content_placement_side$filter_contentModify the entire rendered filter form HTML (sidebar placement).

Job Specifications

Filter NameParametersDescription
awsm_block_job_spec_terms$terms, $post_id, $taxonomyModify the terms fetched for a job's specification.
awsm_block_job_spec_item_content$spec_item_content, $post_id, $taxonomyModify the HTML for a single specification item.
awsm_block_job_specs_content$spec_content, $post_idModify the full specifications wrapper HTML for a job.