Quantcast
Channel: EasyEngine Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 12639

Visitor Upload

$
0
0

Hello @Scott_Lengacher,

If you can create a separate page/post and use it for your purpose then adding some custom code may help.

Please, try using the filter before_rtmedia_uploader_display.

For example:

/**
 * Display rtMedia uploader depending whether $flag is set or not.
 *
 * @param bool $flag True to show uploader, False to hide.
 *
 * @return bool True to show uploader, False to hide.
 */
function tmp_rtm_before_rtmedia_uploader_display_callback( $flag ) {

	// modify $flag based on some conditions.
	return true;

}
add_filter( 'before_rtmedia_uploader_display', 'tmp_rtm_before_rtmedia_uploader_display_callback' );

Thanks.


Viewing all articles
Browse latest Browse all 12639

Trending Articles