ExportMediaLibrary
in package
Uses
UtilsProvider
This class handles the compatibility for this plugin: https://wordpress.org/plugins/export-media-library/
Tags
Table of Contents
Constants
- AJAX_ACTION = 'massedge-wp-plugin-eml-ape-rml-download'
Methods
- __construct() : mixed
- C'tor.
- export() : WP_REST_Response|WP_Error
- See API docs.
- getPluginConstantPrefix() : string
- Get the prefix of this plugin so composer packages can dynamically build other constant values on it.
- localize() : array<string|int, mixed>
- Add a localized nonce to the rmlOpts variable for AJAX interaction (admin-ajax.php).
- permission_callback() : mixed
- Check if user is allowed to call this service requests.
- rest_api_init() : mixed
- Register REST API endpoints.
Constants
AJAX_ACTION
public
mixed
AJAX_ACTION
= 'massedge-wp-plugin-eml-ape-rml-download'
Methods
__construct()
C'tor.
public
__construct() : mixed
export()
See API docs.
public
export(WP_REST_Request $request) : WP_REST_Response|WP_Error
APIYes
Parameters
- $request : WP_REST_Request
Tags
Return values
WP_REST_Response|WP_ErrorgetPluginConstantPrefix()
Get the prefix of this plugin so composer packages can dynamically build other constant values on it.
public
getPluginConstantPrefix() : string
Tags
Return values
stringlocalize()
Add a localized nonce to the rmlOpts variable for AJAX interaction (admin-ajax.php).
public
localize(array<string|int, mixed> $arr) : array<string|int, mixed>
Parameters
- $arr : array<string|int, mixed>
Return values
array<string|int, mixed>permission_callback()
Check if user is allowed to call this service requests.
public
permission_callback() : mixed
rest_api_init()
Register REST API endpoints.
public
rest_api_init() : mixed