um_file_upload_nonce

Hook type

Filter

Description

Change File Upload nonce

Parameters

$nonce

(bool) Nonce

Usage

<?php add_filter( 'um_file_upload_nonce', 'function_name', 10, 1 ); ?>

Examples

<?php
add_filter( 'um_file_upload_nonce', 'my_file_upload_nonce', 10, 1 );
function my_file_upload_nonce( $nonce ) {
    // your code here
return $nonce;
}
?>

Change Log

Since: 2.0

Source

um_file_upload_nonce is located in includes/lib/upload/um-file-upload.php::line 63