um_image_upload_nonce

Hook type

Filter

Description

Change Image Upload nonce

Parameters

$nonce

(bool) Nonce

Usage

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

Examples

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

Change Log

Since: 2.0

Source

um_image_upload_nonce is located in includes/lib/upload/um-image-upload.php::line 57