before.php (409B)
1 <?php 2 namespace Elementor\Data\Base\Processor; 3 4 use Elementor\Data\Base\Processor; 5 6 abstract class Before extends Processor { 7 8 /** 9 * Get conditions for running processor. 10 * @param array $args 11 * 12 * @return bool 13 */ 14 public function get_conditions( $args ) { 15 return true; 16 } 17 18 /** 19 * Apply processor. 20 * 21 * @param array $args 22 * 23 * @return mixed 24 */ 25 abstract public function apply( $args ); 26 }