LLMS_Shortcode
LLMS_Shortcode Abstract.
Description Description
Source Source
File: includes/abstracts/abstract.llms.shortcode.php
Changelog Changelog
Version | Description |
---|---|
3.4.3 | Introduced. |
Methods Methods
- __construct — Private constructor
- enqueue_script — Allow shortcodes to enqueue scripts only when the shortcode is used Enqueues a registered script IF that script isn't already enqueued
- get_attribute — Get a specific attribute from the attributes array
- get_attributes — Get the array of attributes
- get_content — Retrieve the content of the shortcode
- get_default_attributes — Retrieves an array of default attributes which are automatically merged with the user submitted attributes and passed to $this->get_output()
- get_default_content — Retrieves a string used for default content which is used if no content is supplied
- get_filter — Retrieve a string that can be used for apply_filters() Ensures that all shortcode related filters follow the same naming convention
- get_output — Retrieve the actual content of the shortcode
- instance — Get the singleton instance for the extending class
- output — Output the actual content of the shortcode This is the callback function used by add_shortcode and can also be used programmatically, used in some widgets
- set_attributes — Merge user attributes with default attributes.