Sid Gifari File Manager
🏠 Root
/
home2
/
meumer25
/
netodolele.com.br
/
wp-content
/
plugins
/
jet-engine
/
includes
/
components
/
listings
/
macros
/
Editing: current-user-id.php
<?php namespace Jet_Engine\Macros; /** * Returns ID of current user. */ class Current_User_Id extends \Jet_Engine_Base_Macros { /** * @inheritDoc */ public function macros_tag() { return 'current_user_id'; } /** * @inheritDoc */ public function macros_name() { return esc_html__( 'Current user ID', 'jet-engine' ); } /** * @inheritDoc */ public function macros_callback( $args = array() ) { return get_current_user_id(); } }
Save
Cancel