request_filesystem_credentials

request_filesystem_credentials

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.3

apply_filters('request_filesystem_credentials') is found 1 times:

  • /wp-admin/includes/file.php line 2396
    	 *                                                    being writable.
    	 * @param array         $extra_fields                 Extra POST fields.
    	 * @param bool          $allow_relaxed_file_ownership Whether to allow Group/World writable.
    	 */
    	$req_cred = apply_filters( 'request_filesystem_credentials', '', $form_post, $type, $error, $context, $extra_fields, $allow_relaxed_file_ownership );
    
    	if ( '' !== $req_cred ) {
    		return $req_cred;
    	}
    
    	if ( empty( $type ) ) {
    

See this hook used in plugins: