wp_signature_softfail

wp_signature_softfail

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('wp_signature_softfail') is found 1 times:

  • /wp-admin/includes/file.php line 1325
    			 *
    			 * @param bool   $signature_softfail If a softfail is allowed.
    			 * @param string $url                The url being accessed.
    			 */
    			apply_filters( 'wp_signature_softfail', true, $url )
    		) {
    			$signature_verification->add_data( $tmpfname, 'softfail-filename' );
    		} else {
    			// Hard-fail.
    			unlink( $tmpfname );
    		}