Gestionnaire de fichiers - Editer - /home/wwgoat/public_html/blog/wp-content/plugins/wp-user-avatars/wp-user-avatars/includes/hooks.php
Arrière
<?php /** * User Avatar Hooks * * @since 0.1.0 * * @package Plugins/Users/Avatars/Hooks */ // Exit if accessed directly defined( 'ABSPATH' ) || exit; // Register Settings add_action( 'admin_init', 'wp_user_avatars_register_settings' ); // Caps add_filter( 'map_meta_cap', 'wp_user_avatars_meta_caps', 10, 4 ); // Scripts add_action( 'admin_enqueue_scripts', 'wp_user_avatars_admin_enqueue_scripts' ); // User profile add_action( 'show_user_profile', 'wp_user_avatars_edit_user_profile' ); add_action( 'edit_user_profile', 'wp_user_avatars_edit_user_profile' ); add_action( 'user_edit_form_tag', 'wp_user_avatars_user_edit_form_tag' ); add_action( 'personal_options_update', 'wp_user_avatars_edit_user_profile_update' ); add_action( 'edit_user_profile_update', 'wp_user_avatars_edit_user_profile_update' ); // Avatar defaults add_filter( 'avatar_defaults', 'wp_user_avatars_avatar_defaults' ); // Default avatar add_filter( 'option_avatar_default', 'wp_user_avatars_option_avatar_default' ); add_filter( 'pre_update_option_avatar_default', 'wp_user_avatars_update_option_avatar_default' ); // Filter avatars add_filter( 'get_avatar_url', 'wp_user_avatars_filter_get_avatar_url', 10, 3 ); add_filter( 'get_avatar_url', 'wp_user_avatars_maybe_use_local_mystery_person' ); // Ajax add_action( 'wp_ajax_assign_wp_user_avatars_media', 'wp_user_avatars_ajax_assign_media' ); add_action( 'wp_ajax_remove_wp_user_avatars', 'wp_user_avatars_action_remove_avatars' ); add_action( 'admin_action_remove-wp-user-avatars', 'wp_user_avatars_action_remove_avatars' ); // User Profiles add_action( 'wp_user_profiles_add_meta_boxes', 'wp_user_profiles_add_avatar_meta_box', 10, 2 ); add_action( 'wp_user_profiles_do_admin_head', 'wp_user_avatars_admin_enqueue_scripts' ); add_action( 'init', 'wp_user_profiles_unhook_legacy_fields', 2 );
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0 |
proxy
|
phpinfo
|
Réglages