WPSEO_Admin_User_Profile::__construct()
Class constructor.
Метод класса: WPSEO_Admin_User_Profile{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WPSEO_Admin_User_Profile = new WPSEO_Admin_User_Profile(); $WPSEO_Admin_User_Profile->__construct();
Код WPSEO_Admin_User_Profile::__construct() WPSEO Admin User Profile:: construct Yoast 22.4
public function __construct() { add_action( 'show_user_profile', [ $this, 'user_profile' ] ); add_action( 'edit_user_profile', [ $this, 'user_profile' ] ); add_action( 'personal_options_update', [ $this, 'process_user_option_update' ] ); add_action( 'edit_user_profile_update', [ $this, 'process_user_option_update' ] ); add_action( 'update_user_meta', [ $this, 'clear_author_sitemap_cache' ], 10, 3 ); }