EPL_Welcome Class
A general class for About and Credits page.
| Since | |
|---|---|
1.0 |
|
| Methods | ||||||
|---|---|---|---|---|---|---|
public
|
__construct()
Get things started
Get things started Since
|
# | ||||
public
|
admin_menus(): void
Register the Dashboard Pages which are later hidden but these pages
are used to render the Welcome and Credits pages.
Register the Dashboard Pages which are later hidden but these pages are used to render the Welcome and Credits pages. Since
|
# | ||||
public
|
admin_head(): void
Hide Individual Dashboard Pages
Hide Individual Dashboard Pages Since
|
# | ||||
public
|
tabs(): void
Navigation tabs
Navigation tabs Since
|
# | ||||
public
|
parse_readme(): string
Parse the EPL readme.txt file
Parse the EPL readme.txt file Returns$readme HTML formatted readme file Since
|
# | ||||
public
|
get_whats_new(): array
What's new in this version: a few headlines for the What's New tab.
What's new in this version: a few headlines for the What's New tab. The full story is a post on easypropertylistings.com.au/whats-new/, so only these few lines need translating each release. Edit them for each x.y.0 release. ReturnsEach item has a title and a text. Since
|
# | ||||
public
|
about_screen(): void
Render About Screen
Render About Screen Since
|
# | ||||
public
|
getting_started_screen(): void
Render Getting Started Screen
Render Getting Started Screen Since
|
# | ||||
public
|
credits_screen(): void
Render Credits Screen
Render Credits Screen Since
|
# | ||||
public
|
epl_contributors(): string
Render Contributors List
Render Contributors List Returns$contributor_list HTML formatted list of all the contributors for EPL Since
|
# | ||||
public
|
get_epl_contributors(): array
Retreive list of contributors from GitHub.
Retreive list of contributors from GitHub. Returns$contributors List of contributors Since
|
# | ||||
public
|
epl_welcome(): void
Sends user to the Welcome page on first activation of EPL as well as each
time EPL is upgraded to a new version
Sends user to the Welcome page on first activation of EPL as well as each time EPL is upgraded to a new version Since
|
# | ||||
| Properties | |||
|---|---|---|---|
public
|
string
|
$minimum_capability = 'edit_published_posts'
The capability users should have to view the page
The capability users should have to view the page |
# |