Method
Construct the instance.
__construct( )
protected
Source
protected function __construct() {
/**
* Fires when TML has been initialized.
*
* @since 7.0
*
* @param Theme_My_Login $tml The TML object.
*/
do_action( 'tml_init', $this );
// Run the activation hook
register_activation_hook( THEME_MY_LOGIN_FILE, array( $this, 'activate' ) );
// Run the deactivation hook
register_deactivation_hook( THEME_MY_LOGIN_FILE, array( $this, 'deactivate' ) );
} View src/includes/class-theme-my-login.php, line 338 on GitHub
Uses
Used by
Changelog
| Version | Description |
|---|---|
| 7.0 | Introduced. |