AnsPress_Admin::save_user_roles_fields( integer $user_id )

Description #

Save anspress user roles.

Parameters #

  • $user_id
    integer (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' ) );
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment