initialize()
mla_gallery_shortcode()
mla_get_data_source()
mla_get_shortcode_attachments()
mla_get_terms()
mla_is_data_source()
mla_no_texturize_shortcodes_filter()
mla_tag_cloud_shortcode()
mla_term_list_shortcode()
$mla_gallery_wp_query_object
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) : string
Compatibility shim for MLAShortcode_Support::mla_gallery_shortcode
since | .50 |
---|
array
Attributes of the shortcode
string
Optional content for enclosing shortcodes; used with mla_alt_shortcode
string
HTML content to display gallery.mla_get_data_source(integer $post_id, string $category, array $data_value, array $attachment_metadata) : string | array
Compatibility shim for MLAData_Source::mla_get_data_source.
since | 1.70 |
---|
integer
post->ID of attachment
string
category/scope to evaluate against: custom_field_mapping or single_attachment_mapping
array
data source specification ( name, *data_source, *keep_existing, *format, mla_column, quick_edit, bulk_edit, *meta_name, *option, no_null )
array
(optional) _wp_attachment_metadata, default NULL (use current postmeta database value)
string
array
data source valuemla_get_terms(array $attr) : array
Compatibility shim for MLAShortcode_Support::mla_get_terms
since | 1.60 |
---|
array
taxonomies to search and query parameters
array
array of term objects, empty if none foundmla_is_data_source(string $candidate_name) : boolean
Compatibility shim for MLAData_Source::mla_is_data_source.
since | 1.80 |
---|
string
candidate data source name
boolean
true if candidate name matches a data sourcemla_no_texturize_shortcodes_filter(array $no_texturize_shortcodes) : array
Defined as public because it's a filter.
since | 1.94 |
---|
array
list of "do not texturize" shortcodes
array
updated list of "do not texturize" shortcodesmla_tag_cloud_shortcode(array $attr, string $content) : string
Compatibility shim for MLAShortcode_Support::mla_tag_cloud_shortcode
since | 1.60 |
---|
array
Attributes of the shortcode.
string
Optional content for enclosing shortcodes
string
HTML content to display the tag cloud.mla_term_list_shortcode(array $attr, string $content) : string
Compatibility shim for MLAShortcode_Support::mla_term_list_shortcode
since | 2.25 |
---|
array
Attributes of the shortcode.
string
Optional content for enclosing shortcodes
string
HTML 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 | 1.51 |
---|