wp_signature_softfail filter-hookWP 5.2.0

Filters whether Signature Verification failures should be allowed to soft fail.

WARNING: This may be removed from a future release.


add_filter( 'wp_signature_softfail', 'wp_kama_signature_softfail_filter', 10, 2 );

 * Function for `wp_signature_softfail` filter-hook.
 * @param bool   $signature_softfail If a softfail is allowed.
 * @param string $url                The url being accessed.
 * @return bool
function wp_kama_signature_softfail_filter( $signature_softfail, $url ){

	// filter...
	return $signature_softfail;
If a softfail is allowed.
The url being accessed.


Since 5.2.0 Introduced.

Where the hook is called

wp-admin/includes/file.php 1325
apply_filters( 'wp_signature_softfail', true, $url )

Where the hook is used in WordPress

Usage not found.