Uname:Linux web236.dogado.net 4.18.0-553.141.2.lve.el7h.x86_64 #1 SMP Wed Jul 8 17:20:31 UTC 2026 x86_64

Base Dir : /var/www/vhosts/h193310.web236.dogado.net/httpdocs

User : h193310


403WebShell
403Webshell
Server IP : 188.114.96.3  /  Your IP : 104.23.243.216
Web Server : Apache
System : Linux web236.dogado.net 4.18.0-553.141.2.lve.el7h.x86_64 #1 SMP Wed Jul 8 17:20:31 UTC 2026 x86_64
User : h193310 ( 10083)
PHP Version : 8.4.12
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/h193310.web236.dogado.net/httpdocs/wp-content/plugins/kirki/app/Models/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/h193310.web236.dogado.net/httpdocs/wp-content/plugins/kirki/app/Models/Post.php
<?php

namespace Kirki\App\Models;

defined('ABSPATH') || exit;

use Kirki\App\Traits\SearchablePost;
use Kirki\App\Traits\HasWordPressPostBehavior;
use Kirki\Framework\Database\Query\Model;

class Post extends Model
{
    use SearchablePost, HasWordPressPostBehavior;

    protected $table = 'posts';

    protected $primary_key = 'ID';

    protected $timestamps = false;

    protected $casts = [
        'ID' => 'integer',
    ];

    public function meta()
    {
        return $this->has_many(PostMeta::class, 'post_id', 'ID');
    }

    public function taxonomies()
    {
        return $this->belongs_to_many(TermTaxonomy::class, 'term_relationships', 'object_id', 'term_taxonomy_id');
    }

    public function categories()
    {
        return $this->taxonomies()->where('taxonomy', 'category');
    }

    public function tags()
    {
        return $this->taxonomies()->where('taxonomy', 'post_tag');
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit