props; $tools = $props['tools']; $defValue = empty($tools) ? 1 : 0; $postObj = $props['obj']; $objId = $postObj->ID; $cardTaxonomy = sanitize_key(WaicUtils::getArrayValue($tools, 'post_card_taxonomy', 'category')); $taxonomyObj = get_taxonomy($cardTaxonomy); $cardTaxonomy = $taxonomyObj && !empty($taxonomyObj->public) && is_object_in_taxonomy($postObj->post_type, $cardTaxonomy) ? $cardTaxonomy : ''; // phpcs:enable ?>
post_title); ?>