LLMS_Admin_Profile::__construct()
Constructor
Contents
Return Return
(void)
Source Source
File: includes/admin/class-llms-admin-profile.php
public function __construct() { add_action( 'show_user_profile', array( $this, 'add_user_meta_fields' ) ); add_action( 'edit_user_profile', array( $this, 'add_user_meta_fields' ) ); add_action( 'personal_options_update', array( $this, 'save_user_meta_fields' ) ); add_action( 'edit_user_profile_update', array( $this, 'save_user_meta_fields' ) ); // Allow errors to be output. add_action( 'user_profile_update_errors', array( $this, 'add_errors' ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |