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/author-name.php |
<?php
namespace ElementorPro\Modules\DynamicTags\Tags;
use ElementorPro\Modules\DynamicTags\Tags\Base\Tag;
use ElementorPro\Modules\DynamicTags\Module;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class Author_Name extends Tag {
public function get_name() {
return 'author-name';
}
public function get_title() {
return esc_html__( 'Author Name', 'elementor-pro' );
}
public function get_group() {
return Module::AUTHOR_GROUP;
}
public function get_categories() {
return [ Module::TEXT_CATEGORY ];
}
public function render() {
echo wp_kses_post( get_the_author() );
}
}