wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
rest_add_application_passwords_to_index › WordPress Function
Seit5.6.0
Veraltetn/v
› rest_add_application_passwords_to_index ( $response )
| Parameter: |
|
| Gibt zurück: |
|
| Definiert in: |
|
| Codex: |
Adds Application Passwords info to the REST API index.
Quellcode
function rest_add_application_passwords_to_index( $response ) {
if ( ! wp_is_application_passwords_available() ) {
return $response;
}
$response->data['authentication']['application-passwords'] = array(
'endpoints' => array(
'authorization' => admin_url( 'authorize-application.php' ),
),
);
return $response;
}