Un motore di ricerca WordPress per sviluppatori e autori di temi



rest_endpoints ›

Da4.4.0
Deprecaton/a
apply_filters( 'rest_endpoints', $this->endpoints )
Parametri:
  • (array) $endpoints The available endpoints. An array of matching regex patterns, each mapped to an array of callbacks for the endpoint. These take the format `'/path/regex' => array( $callback, $bitmask )` or `'/path/regex' => array( array( $callback, $bitmask ).
    Richiesto:
Definito a:
Codex:

Filters the array of available endpoints.





Sorgenti

$endpoints = apply_filters( 'rest_endpoints', $this->endpoints );