EPL_Author Class
| Since | |
|---|---|
1.3.0 |
|
| Methods | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
public
|
__construct(string $author_id)
Get things started
Get things started Parameters
Since
|
# | ||||||||||
public
|
__get(string $property): bool|mixed
Get the global property object
Get the global property object Parameters
Returns$return Array of values. Since
|
# | ||||||||||
public
|
get_author_name()
Author Name
Author Name Since
|
# | ||||||||||
public
|
get_email()
Get Email
Get Email Since
|
# | ||||||||||
protected
|
esc_profile_url(string $url): string
Escape a social/contact profile URL for use in an href attribute.
Escape a social/contact profile URL for use in an href attribute. Non http(s) schemes used by the contact methods (mailto, skype, tel) are whitelisted explicitly, everything else falls back to the WordPress allowed protocol list. Values that sanitise away to nothing are returned as an empty string so the caller can skip rendering the link entirely. Parameters
Since
|
# | ||||||||||
protected
|
get_icon_title(string $prefix, string $suffix): string
Build an escaped title attribute for a contact icon.
Build an escaped title attribute for a contact icon. Parameters
Since
|
# | ||||||||||
public
|
get_email_html(string $html = '', string $style = 'i'): mixed|string|void
Author Email html Box
Author Email html Box Parameters
Since
|
# | ||||||||||
public
|
get_website()
Get website
Get website Since
|
# | ||||||||||
public
|
get_website_html(string $html = '', string $style = 'i'): mixed|string|void
Author website html Box
Author website html Box Parameters
Since
|
# | ||||||||||
public
|
get_twitter()
Get Twitter
Get Twitter Since
|
# | ||||||||||
public
|
get_instagram()
Get Instagram
Get Instagram Since
|
# | ||||||||||
public
|
get_youtube()
Get YouTube
Get YouTube Since
|
# | ||||||||||
public
|
get_pinterest()
Get Pinterest
Get Pinterest Since
|
# | ||||||||||
public
|
get_twitter_html(string $html = '', string $style = 'i'): mixed|string|void
Author Twitter html Box
Author Twitter html Box Parameters
Since
|
# | ||||||||||
public
|
get_instagram_html(string $html = '', string $style = 'i'): mixed|string|void
Author Instagram html Box
Author Instagram html Box Parameters
Since
|
# | ||||||||||
public
|
get_youtube_html(string $html = '', string $style = 'i'): mixed|string|void
Author YouTube html Box
Author YouTube html Box Parameters
Since
|
# | ||||||||||
public
|
get_pinterest_html(string $html = '', string $style = 'i'): mixed|string|void
Author Pinterest html Box
Author Pinterest html Box Parameters
Since
|
# | ||||||||||
public
|
get_google()
Get Google
Get Google Since
|
# | ||||||||||
public
|
get_google_html(string $html = '', string $style = 'i'): mixed|string|void
Author Google html Box
Author Google html Box Parameters
Since
|
# | ||||||||||
public
|
get_facebook()
Get Facebook
Get Facebook Since
|
# | ||||||||||
public
|
get_facebook_html(string $html = '', string $style = 'i'): mixed|string|void
Author Facebook html Box
Author Facebook html Box Parameters
Since
|
# | ||||||||||
public
|
get_linkedin()
Get linkedin
Get linkedin Since
|
# | ||||||||||
public
|
get_linkedin_html(string $html = '', string $style = 'i'): mixed|string|void
Author LinkedIn html Box
Author LinkedIn html Box Parameters
Since
|
# | ||||||||||
public
|
get_skype()
Get skype
Get skype Since
|
# | ||||||||||
public
|
get_skype_html(string $html = '', string $style = 'i'): mixed|string|void
Author Skype html Box
Author Skype html Box Parameters
Since
|
# | ||||||||||
public
|
get_video_html(string $html = ''): mixed|void
Author video html Box
Author video html Box Parameters
Since
|
# | ||||||||||
public
|
get_description()
Get description
Get description Since
|
# | ||||||||||
public
|
get_description_html(string $html = ''): mixed|void
Author description html
Author description html Parameters
Since
|
# | ||||||||||
public
|
get_author_mobile()
Author mobile
Author mobile Since
|
# | ||||||||||
public
|
get_author_office_phone()
Author office phone
Author office phone Since
|
# | ||||||||||
public
|
get_author_id()
Author ID
Author ID Since
|
# | ||||||||||
public
|
get_author_slogan()
Author Slogan
Author Slogan Since
|
# | ||||||||||
public
|
get_author_position()
Author Position
Author Position Since
|
# | ||||||||||
public
|
get_author_contact_form()
Author Contact Form
Author Contact Form Since
|
# | ||||||||||
| Properties | |||
|---|---|---|---|
public
|
string
|
$author_id
User ID.
User ID. |
# |
public
|
string
|
$name
User name.
User name. |
# |
public
|
string
|
$mobile
User mobile number.
User mobile number. |
# |
public
|
string
|
$office_phone
User office phone.
User office phone. |
# |
public
|
string
|
$website
User website.
User website. |
# |
public
|
string
|
$facebook
User Facebook profile URL.
User Facebook profile URL. |
# |
public
|
string
|
$linkedin
User LinkedIn profile URL.
User LinkedIn profile URL. |
# |
public
|
string
|
$google
User Google Plus profile URL.
User Google Plus profile URL. |
# |
public
|
string
|
$twitter
User Twitter ID.
User Twitter ID. |
# |
public
|
string
|
$instagram
User Instagram profile URL.
User Instagram profile URL. |
# |
public
|
string
|
$pinterest
User Pinterest profile URL.
User Pinterest profile URL. |
# |
public
|
string
|
$youtube
User YouTube profile URL.
User YouTube profile URL. |
# |
public
|
string
|
$email
User email address.
User email address. |
# |
public
|
string
|
$skype
User Skype ID.
User Skype ID. |
# |
public
|
string
|
$slogan
User Slogan text string.
User Slogan text string. |
# |
public
|
string
|
$position
User position text string.
User position text string. |
# |
public
|
string
|
$video
User video profile URL.
User video profile URL. |
# |
public
|
string
|
$contact_form
User contact shortcode.
User contact shortcode. |
# |
public
|
string
|
$description
User bio textarea.
User bio textarea. |
# |