401 ] ); } if ( ! current_user_can( 'manage_options' ) ) { return new \WP_Error( 'feednetic/forbidden', __( 'You do not have permission to access this endpoint.', 'feednetic' ), [ 'status' => 403 ] ); } return true; } }