AnsPress_Admin::save_user_roles_fields( integer $user_id )
Description #
Save anspress user roles.
Parameters #
- $user_idinteger (Required) User ID.
Source #
File: admin/anspress-admin.php
public static function save_user_roles_fields( $user_id ) { update_user_meta( $user_id, 'ap_role', ap_sanitize_unslash( 'ap_role', 'p' ) ); }
Expand full source code Collapse full source code View on GitHub: admin/anspress-admin.php:368
Add your comment