BuddyClients Docs

Shortcodes
in package

Registers plugin shortcodes.

Defines and registers all shortcodes for the plugin.

Tags
since
0.1.0

Table of Contents

Methods

any_shortcode_exists()  : mixed
Checks whether any plugin shortcode is present in the page content.
get_all_shortcodes()  : mixed
Retrieves all shortcodes.
get_shortcode()  : mixed
Retrieves the shortcode by key.
register()  : mixed
Registers all shortcodes.
run()  : mixed
Initializes the shortcode registration.
shortcode_exists()  : mixed
Checks whether a shortcode is present in the page content.
shortcodes_data()  : mixed
Defines shortcodes data.

Methods

any_shortcode_exists()

Checks whether any plugin shortcode is present in the page content.

public static any_shortcode_exists() : mixed
Tags
since
1.0.27

get_all_shortcodes()

Retrieves all shortcodes.

public static get_all_shortcodes() : mixed
Tags
since
1.0.27

get_shortcode()

Retrieves the shortcode by key.

public static get_shortcode(string $key) : mixed
Parameters
$key : string

The shortcode key.

Tags
since
1.0.27

register()

Registers all shortcodes.

public static register() : mixed
Tags
since
0.1.0

run()

Initializes the shortcode registration.

public static run() : mixed
Tags
since
0.1.0

shortcode_exists()

Checks whether a shortcode is present in the page content.

public static shortcode_exists(string $shortcode_key) : mixed
Parameters
$shortcode_key : string

The shortcode key.

Tags
since
1.0.27

shortcodes_data()

Defines shortcodes data.

public static shortcodes_data() : mixed
Tags
since
1.0.25

        
On this page

Search results