\jb\frontendShortcodes

Class Shortcodes

Summary

Methods
Properties
Constants
__construct()
add_login_form_hidden()
add_display_css_attr()
job_post()
render_section()
single_job()
jobs()
jobs_dashboard()
job_categories_list()
recent_jobs()
company_details()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() : mixed

Shortcodes constructor.

Returns

mixed

add_login_form_hidden()

add_login_form_hidden(mixed  $content, mixed  $args) : mixed

Parameters

mixed $content
mixed $args

Returns

mixed

add_display_css_attr()

add_display_css_attr(array  $attrs) : array

Added for WP_Kses valid CSS attributes

Parameters

array $attrs

Returns

array

job_post()

job_post(array  $atts = array()) : string

Jobs shortcode [jb_post_job /]

Parameters

array $atts

Returns

string

render_section()

render_section(string  $html, array  $section_data, array  $form_data) : string

Customize rendering 'my-details' section based on 'account-creation' option

Parameters

string $html
array $section_data
array $form_data

Returns

string

single_job()

single_job(array  $atts = array()) : string

Single job shortcode [jb_job /]

Parameters

array $atts

Returns

string

jobs()

jobs(array  $atts = array()) : string

Jobs shortcode [jb_jobs /]

Parameters

array $atts

Returns

string

jobs_dashboard()

jobs_dashboard(array  $atts = array()) : string

Jobs dashboard shortcode [jb_jobs_dashboard /]

Parameters

array $atts

Returns

string

job_categories_list()

job_categories_list(array  $atts = array()) : string

Jobs dashboard shortcode [jb_job_categories_list /]

Parameters

array $atts

Returns

string

recent_jobs()

recent_jobs(array  $atts = array()) : string

The "Recent Jobs" shortcode [jb_recent_jobs /]

Parameters

array $atts

An array of attributes.

Returns

string

company_details()

company_details(array  $atts = array()) : string

The "Company detailds" shortcode [jb_company_details /]

Parameters

array $atts

An array of attributes.

Returns

string