Method |
Description |
|
__construct ( $link ) |
|
|
authentication_method ( ) |
* SyndicatedLink::password () |
|
automatic_ttl ( ) |
* SyndicatedLink::ttl() |
|
category_ids ( $post, array $cats, string $unfamiliar_category = 'create', array | null $taxonomies = NULL, $params = [] ) : array |
category_ids: look up (and create) category ids from a list of
categories |
|
deactivate ( ) |
* SyndicatedLink::set_uri () |
|
delete ( ) |
SyndicatedLink::delete() deletes a subscription from the WordPress links
table. Any posts that were syndicated through that subscription will still
be present in the wp_posts table; but postmeta fields that refer to the
syndication feed's numeric id (which will no longer be valid) will be
deleted. For most purposes, the posts remaining will be treated as if they
were locally authored posts rather than syndicated posts. |
|
fetch ( ) |
* SyndicatedLink::stale () |
|
flatten_array ( array $arr, string $prefix = 'feed/', string $separator = '/' ) : array |
SyndicatedLink::flatten_array (): flatten an array. Useful for
hierarchical and namespaced elements. |
|
found ( ) |
* SyndicatedLink::__construct () |
|
guid ( ) |
* SyndicatedLink::name () |
|
hardcode ( $what ) |
* SyndicatedLink::flatten_array () |
|
homepage ( $fromFeed = true ) |
* SyndicatedLink::property_cascade () |
|
id ( ) |
* SyndicatedLink::found () |
|
is_non_incremental ( ) |
* SyndicatedLink::update_setting () |
|
links ( $params = [] ) |
|
|
live_posts ( ) |
* SyndicatedLink::fetch () |
|
map_name_to_new_user ( $name, $newuser_name ) |
* SyndicatedLink::nuke () |
|
merge_settings ( $data, $prefix, $separator = '/' ) |
* SyndicatedLink::setting () |
|
name ( $fromFeed = true ) |
* SyndicatedLink::homepage () |
|
nuke ( ) |
SyndicatedLink::nuke() deletes a subscription AND all of the
posts syndicated through that subscription. |
|
password ( ) |
* SyndicatedLink::username () |
|
poll ( $crash_ts = NULL ) |
* SyndicatedLink::live_posts () |
|
postmeta ( $params = [] ) |
|
|
process_retirements ( $delta ) |
* SyndicatedLink::poll() |
|
property_cascade ( $fromFeed, $link_field, $setting, $method ) |
* SyndicatedLink::postmeta () |
|
save_settings ( $reload = false ) |
* SyndicatedLink::settings_to_notes () |
|
set_uri ( string $url ) : boolean |
Updates the URL for the feed syndicated by this link. |
|
setting ( string $name, mixed $fallback_global = NULL, mixed $fallback_value = NULL, $default = 'default' ) : boolean |
Retrieves the value of a setting, allowing for a global setting to be
used as a fallback, or a constant value, or both. |
|
stale ( ) |
|
|
syndicated_status ( $what, $default, $fallback = true ) |
* SyndicatedLink::hardcode () |
|
taxonomies ( ) |
* SyndicatedLink:syndicated_status () |
|
ttl ( $return_element = false ) |
|
|
update_setting ( $name, $value, $default = 'default' ) |
* SyndicatedLink::merge_settings () |
|
uri ( $params = [] ) |
* SyndicatedLink::is_non_incremental () |
|
username ( ) |
* SyndicatedLink::uri () |
|