LEGACY_NAMESPACE LEGACY_NAMESPACE ='realmedialibrary/v1' Legacy namespace while switched from 4.5.4 to 4.6.0 in a new boilerplate.
getPluginConstantPrefix() getPluginConstantPrefix(): string Get the prefix of this plugin so composer packages can dynamically build other constant values on it. Returns string
routeTree() routeTree(\MatthiasWeb\RealMediaLibrary\rest\WP_REST_Request $request): \WP_REST_Response|\WP_Error See API docs. Parameters \MatthiasWeb\RealMediaLibrary\rest\WP_REST_Request $request Returns \WP_REST_Response|\WP_Error
routeTreeDropdown() routeTreeDropdown(\MatthiasWeb\RealMediaLibrary\rest\WP_REST_Request $request): \WP_REST_Response|\WP_Error See API docs. Parameters \MatthiasWeb\RealMediaLibrary\rest\WP_REST_Request $request Returns \WP_REST_Response|\WP_Error
getUserSettingsHTML() getUserSettingsHTML(): \WP_REST_Response|\WP_Error See API docs. Returns \WP_REST_Response|\WP_Error
updateUserSettings() updateUserSettings(\MatthiasWeb\RealMediaLibrary\rest\WP_REST_Request $request): \WP_REST_Response|\WP_Error See API docs. Parameters \MatthiasWeb\RealMediaLibrary\rest\WP_REST_Request $request Returns \WP_REST_Response|\WP_Error
superpwa_exclude_from_cache() superpwa_exclude_from_cache(string $superpwa_sw_never_cache_urls): string Exclude REST API Url from SuperPWA cache Parameters string $superpwa_sw_never_cache_urls Returns string
permit() permit(string $cap = 'upload_files'): \WP_Error|null Checks if the current user has a given capability and throws an error if not. Parameters string $cap The capability Returns \WP_Error|null
addResponseModifier() addResponseModifier(string $type,array $data) Allows you to modify a given type of response body. If you want to find the different types you must have a look at the Service class constants. Parameters string $type array $data
responseModify() responseModify(string $type,array $data): array Apply response modifications to a given array. Parameters string $type array $data Returns array