Avatar::__construct()
Description #
Initialize the class.
Source #
File: addons/avatar/avatar.php
protected function __construct() { ap_add_default_options( array( 'avatar_font' => 'Pacifico', 'avatar_force' => false, ) ); anspress()->add_filter( 'ap_settings_menu_features_groups', __CLASS__, 'add_to_settings_page' ); anspress()->add_action( 'ap_form_options_features_avatar', __CLASS__, 'option_form' ); anspress()->add_filter( 'pre_get_avatar_data', __CLASS__, 'get_avatar', 1000, 3 ); anspress()->add_action( 'wp_ajax_ap_clear_avatar_cache', __CLASS__, 'clear_avatar_cache' ); }
Expand full source code Collapse full source code View on GitHub: addons/avatar/avatar.php:54
Add your comment