Properties

$provider

$provider : 

$frequencies

$frequencies : 

$priorities

$priorities : 

$timezone

$timezone : 

$date_format

$date_format : 

$domain

$domain : 

Methods

__construct()

__construct(\BWP_Sitemaps_Provider_ExternalPage  $provider, array  $frequencies, array  $priorities, \DateTimeZone  $timezone) 

Parameters

\BWP_Sitemaps_Provider_ExternalPage $provider
array $frequencies
array $priorities
\DateTimeZone $timezone

save_external_page_action()

save_external_page_action() 

Save an external page, be it a new or existing one

Response should contain ESCAPED contents.

remove_external_page_action()

remove_external_page_action() 

Remove page action

get_pages_action()

get_pages_action() 

Get pages action

Response should contain ESCAPED contents.

response_with()

response_with(array  $data) 

Parameters

array $data

fail()

fail() 

succeed()

succeed() 

save()

save(string  $url, array  $data) : boolean|integer

Parameters

string $url
array $data

Returns

boolean|integer

1 if new, 2 if updated and false if failed

remove()

remove(string  $url) 

Parameters

string $url