HOME


Mini Shell 1.0
DIR: /home/otwalrll/feedafricafarm.com/wp-content/themes/blocksy/inc/components/archive/
Upload File :
Current File : /home/otwalrll/feedafricafarm.com/wp-content/themes/blocksy/inc/components/archive/archive.php
<?php

namespace Blocksy;

class ArchiveLogic {
	use WordPressActionsManager;

	private $doing_card_output = false;

	private $actions = [
		['action' => 'blocksy:loop:before'],
		['action' => 'blocksy:loop:after'],
	];

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

	public function blocksy_loop_before() {
		$this->doing_card_output = true;
	}

	public function blocksy_loop_after() {
		$this->doing_card_output = false;
	}

	public function is_doing_card_output() {
		return $this->doing_card_output;
	}
}