$_shortcode_template_items
$_shortcode_template_items : array
In-memory representation of the template items
Class MLA (Media Library Assistant) Template Query implements the searchable database of shortcode templates
$_shortcode_template_items : array
In-memory representation of the template items
mla_find_shortcode_template_ID(string $type, string $name) : integer
Find a Shortcode Template ID given its type and name
| string | $type | MLA Shortcode Template type; style or markup. |
| string | $name | MLA Shortcode Template name. |
Template ID if the template exists else zero (0).
mla_update_shortcode_template(integer $ID, string $key, string $value) : boolean
Update a Shortcode Template field given its ID and key.
| integer | $ID | MLA Shortcode Template ID. |
| string | $key | MLA Shortcode Template property. |
| string | $value | MLA Shortcode Template new value. |
true if object exists else false.
_get_shortcode_template_items(boolean $force_refresh = false) : boolean
Assemble the in-memory representation of the templates items
| boolean | $force_refresh | Optional. Force a reload of items. Default false. |
Success (true) or failure (false) of the operation