\MatthiasWeb\RealMediaLibrary\compExportMediaLibrary

This class handles the compatibility for this plugin: https://wordpress.org/plugins/export-media-library/

Summary

Methods
Properties
Constants
getPluginConstantPrefix()
__construct()
rest_api_init()
permission_callback()
export()
localize()
No public properties found
AJAX_ACTION
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

AJAX_ACTION

AJAX_ACTION ='massedge-wp-plugin-eml-ape-rml-download'

Methods

getPluginConstantPrefix()

getPluginConstantPrefix(): string

Get the prefix of this plugin so composer packages can dynamically build other constant values on it.

Returns

string

__construct()

__construct()

C'tor.

rest_api_init()

rest_api_init()

Register REST API endpoints.

permission_callback()

permission_callback()

Check if user is allowed to call this service requests.

export()

export(\WP_REST_Request  $request): \WP_REST_Response|\WP_Error

See API docs.

Parameters

\WP_REST_Request $request

Returns

\WP_REST_Response|\WP_Error

localize()

localize(array  $arr): array

Add a localized nonce to the rmlOpts variable for AJAX interaction (admin-ajax.php).

Parameters

array $arr

Returns

array