Current Path : /storage/v11800/leadideascloud/public_html/wp-content/plugins/elementor-pro/modules/dynamic-tags/tags/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/leadideascloud/public_html/wp-content/plugins/elementor-pro/modules/dynamic-tags/tags/user-profile-picture.php |
<?php
namespace ElementorPro\Modules\DynamicTags\Tags;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class User_Profile_Picture extends Author_Profile_Picture {
public function get_name() {
return 'user-profile-picture';
}
public function get_title() {
return esc_html__( 'User Profile Picture', 'elementor-pro' );
}
public function get_value( array $options = [] ) {
return [
'id' => '',
'url' => get_avatar_url( get_current_user_id() ),
];
}
}