Class MLA (Media Library Assistant) Shortcodes defines the shortcodes available to MLA users and loads the support class if the shortcodes are executed.
| package |
Media Library Assistant |
|---|---|
| since | 0.20 |
initialize() : void
| since | 0.20 |
|---|---|
mla_gallery_shortcode(array $attr, string $content = NULL) : string
Compatibility shim for MLAShortcode_Support::mla_gallery_shortcode
| since |
.50 |
|---|
arrayAttributes of the shortcode
stringOptional content for enclosing shortcodes; used with mla_alt_shortcode
stringHTML content to display gallery.
mla_get_data_source( $post_id, $category, $data_value, $attachment_metadata = NULL) : string|array
Compatibility shim for MLAData_Source::mla_get_data_source.
| since | 1.70 |
|---|
string|arraydata source value
mla_get_terms( $attr) : array
Compatibility shim for MLAShortcode_Support::mla_get_terms
| since | 1.60 |
|---|
arrayarray of term objects, empty if none found
mla_is_data_source( $candidate_name) : boolean
Compatibility shim for MLAData_Source::mla_is_data_source.
| since | 1.80 |
|---|
booleantrue if candidate name matches a data source
mla_no_texturize_shortcodes_filter( $no_texturize_shortcodes) : array
Defined as public because it's a filter.
| since | 1.94 |
|---|
arrayupdated list of "do not texturize" shortcodes
mla_tag_cloud_shortcode(array $attr, string $content = NULL) : string
Compatibility shim for MLAShortcode_Support::mla_tag_cloud_shortcode
| since | 1.60 |
|---|
arrayAttributes of the shortcode.
stringOptional content for enclosing shortcodes
stringHTML content to display the tag cloud.
mla_term_list_shortcode(array $attr, string $content = NULL) : string
Compatibility shim for MLAShortcode_Support::mla_term_list_shortcode
| since | 2.25 |
|---|
arrayAttributes of the shortcode.
stringOptional content for enclosing shortcodes
stringHTML content to display the tag cloud.
mla_gallery_wp_query_object : object
Defined as a public, static variable so it can be inspected from the "mla_gallery_wp_query_object" action. Set to NULL at all other times.
| since | |
|---|---|
| var |
object