OPTION_NAME_CLICKED_ACTIONS
OPTION_NAME_CLICKED_ACTIONS =RCB_OPT_PREFIX . '-migration-actions-clicked'
Allow to define a list of migrations in our dashboard.
addAction(string $id,string $title,string $description,array $args = array())
Register a new action which can be made for this migration.
Arguments:
[linkText] (string)
Can be null
to disable the link[confirmText] (string)
The user needs to confirm this migration with something like "Are you sure?"[callback] (callback|string)
Can be null
, a callback which is executed when clicking the link or a direct URL[previewImage] (string)
Absolute URL to preview imagestring | $id | Unique action ID |
string | $title | |
string | $description | |
array | $args | Arguments, see above |
deleteCustomizerTexts(array<mixed,string> $languages,array<mixed,string> $ids): array<mixed,string>
Delete customizer texts for given languages and option keys.
array<mixed,string> | $languages | |
array<mixed,string> | $ids |
Deleted option keys