Admin messages
Today one message: the FeedSync Service, in three versions (creatives).
Shown to users who can edit posts when the Easy Property Listings Import CSV, XML WP All Import add-on is active (the legacy FeedSync setup) and the FeedSync Service companion plugin isn't (the site hasn't moved yet). Filter epl_admin_messages_show to turn them off.
Only one creative is displayed per screen:
Dismissal is stored per user and per creative.
| Since | |
|---|---|
3.6 |
|
| Methods | ||||
|---|---|---|---|---|
public
static
|
init()
Register hooks.
Register hooks. Since
|
# | ||
public
static
|
should_show(): bool
Should the banners show on this site?
Should the banners show on this site? Yes when the EPL WP All Import add-on or the legacy EPL FeedSync Connector add-on is active and the FeedSync Service companion plugin isn't. Since
|
# | ||
public
static
|
enqueue_styles(): void
Enqueue the message stylesheet only where a message can show.
Enqueue the message stylesheet only where a message can show. Since
|
# | ||
public
static
|
render_notice(): void
Show the message for the current screen.
Show the message for the current screen. Since
|
# | ||
public
static
|
render_addons_row(): void
FeedSync Service row on the Add Ons page
FeedSync Service row on the Add Ons page Creative C as a listing of the service, on every site, and it can't be dismissed. Sites already on FeedSync (companion active) see that it's active instead of the pitch. The "detected" chip and the WP All Import wording only appear when the EPL WP All Import add-on is active. Since
|
# | ||
public
static
|
dismiss_message(): void
Store a per-user dismissal and return to the originating screen.
Store a per-user dismissal and return to the originating screen. Since
|
# | ||
| Constants | ||
|---|---|---|
public
|
DISMISSED_META_KEY = 'epl_dismissed_admin_messages'
User meta key for dismissed messages.
User meta key for dismissed messages. |
# |
public
|
FEEDSYNC_URL = 'https://feedsync.com.au/'
FeedSync destination.
FeedSync destination. |
# |
public
|
LEGACY_RETIRES = '2026-12-05'
Last day legacy FeedSync is supported (Y-m-d). The deadline line shows until the end of this day.
Last day legacy FeedSync is supported (Y-m-d). The deadline line shows until the end of this day. |
# |