forked from radgeek/feedwordpress
-
Notifications
You must be signed in to change notification settings - Fork 1
/
feedwordpie_item.class.php
55 lines (48 loc) · 2.08 KB
/
feedwordpie_item.class.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
class FeedWordPie_Item extends SimplePie_Item {
function get_id ($hash = false) {
return apply_filters('feedwordpie_item_get_id', parent::get_id($hash), $hash, $this);
}
function get_title () {
return apply_filters('feedwordpie_item_get_title', parent::get_title(), $this);
}
function get_description ($description_only = false) {
return apply_filters('feedwordpie_item_get_description', parent::get_description($description_only), $description_only, $this);
}
function get_content ($content_only = false) {
return apply_filters('feedwordpie_item_get_content', parent::get_content($content_only), $content_only, $this);
}
function get_categories () {
return apply_filters('feedwordpie_item_get_categories', parent::get_categories(), $this);
}
function get_authors () {
return apply_filters('feedwordpie_item_get_authors', parent::get_authors(), $this);
}
function get_contributors () {
return apply_filters('feedwordpie_item_get_contributors', parent::get_contributors(), $this);
}
function get_copyright () {
return apply_filters('feedwordpie_item_get_copyright', parent::get_copyright(), $this);
}
function get_date ($date_format = 'j F Y, g:i a') {
return apply_filters('feedwordpie_item_get_date', parent::get_date($date_format), $date_format, $this);
}
function get_local_date ($date_format = '%c') {
return apply_filters('feedwordpie_item_get_local_date', parent::get_local_date($date_format), $date_format, $this);
}
function get_links ($rel = 'alternate') {
return apply_filters('feedwordpie_item_get_links', parent::get_links($rel), $rel, $this);
}
function get_enclosures () {
return apply_filters('feedwordpie_item_get_enclosures', parent::get_enclosures(), $this);
}
function get_latitude () {
return apply_filters('feedwordpie_item_get_lattitude', parent::get_lattitude(), $this);
}
function get_longitude () {
return apply_filters('feedwordpie_item_get_longitude', parent::get_longtidue(), $this);
}
function get_source () {
return apply_filters('feedwordpie_item_get_source', parent::get_source(), $this);
}
} /* class FeedWordPie_Item */