ldc-groupe/public/app/mu-plugins/wpml-string-translation/StringTranslation/UserInterface/RestApi/AbstractController.php
2025-04-02 09:41:51 +02:00

16 lines
No EOL
333 B
PHP

<?php
namespace WPML\StringTranslation\UserInterface\RestApi;
abstract class AbstractController extends \WPML\ST\Rest\Base {
/**
* @param \WP_REST_Request $request
*
* @return array
*/
function get_allowed_capabilities(\WP_REST_Request $request)
{
return ['wpml_manage_string_translation','manage_translations'];
}
}