ap_update_user_temp_media_count( integer $user_id = false )
Description #
Update users temproary media uploads count.
Parameters #
- $user_idinteger (Optional) User ID. Default value: false
Source #
File: includes/upload.php
function ap_update_user_temp_media_count( $user_id = false ) { if ( false === $user_id ) { $user_id = get_current_user_id(); } // @codingStandardsIgnoreLine update_user_meta( $user_id, '_ap_temp_media', ap_count_users_temp_media( $user_id ) ); }
Expand full source code Collapse full source code View on GitHub: includes/upload.php:462
Add your comment