Outil de recherche WordPress pour les développeurs et auteurs de thèmes

request_filesystem_credentials ›

apply_filters( 'request_filesystem_credentials', '', $form_post, $type, $error, $context, $extra_fields, $allow_relaxed_file_ownership )
Paramètres: (7)
  • (mixed) $output Form output to return instead. Default empty.
    Requis: Oui
  • (string) $form_post The URL to post the form to.
    Requis: Oui
  • (string) $type Chosen type of filesystem.
    Requis: Oui
  • (bool) $error Whether the current request has failed to connect. Default false.
    Requis: Oui
  • (string) $context Full path to the directory that is tested for being writable.
    Requis: Oui
  • (bool) $allow_relaxed_file_ownership Whether to allow Group/World writable. Default false.
    Requis: Oui
  • (array) $extra_fields Extra POST fields.
    Requis: Oui
Défini(e) dans:

Filters the filesystem credentials form output.

Returning anything other than an empty string will effectively short-circuit output of the filesystem credentials form, returning that value instead.


$req_cred = apply_filters( 'request_filesystem_credentials', '', $form_post, $type, $error, $context, $extra_fields, $allow_relaxed_file_ownership );