change_where_posts() change_where_posts(string $where) : string Replace 'WHERE' by the searching request Parameters string $where Returns string
set_search() set_search(string $search) : string Set class search variable Parameters string $search Returns string
change_meta_sql() change_meta_sql(array $sql) : array Change mySQL meta query join attribute for search by the company name Parameters array $sql Array containing the query's JOIN and WHERE clauses. Returns array
relevance_search() relevance_search(string $search_orderby, \WP_Query $query) : string Searching by relevance Parameters string $search_orderby \WP_Query $query Returns string
get_job_data() get_job_data(\WP_Post $job_post) : array Prepare job data for AJAX response Parameters \WP_Post $job_post Returns array
get_employer_jobs() get_employer_jobs() : mixed AJAX handler for getting employer's jobs Returns mixed
calculate_pagination() calculate_pagination(int $total_jobs) : array Get data array for pagination Parameters int $total_jobs Returns array
validate_job() validate_job() : mixed AJAX handler for validate job data on save through wp-admin editor Returns mixed