after.php in Elementor Website Builder – more than just a page builder 4.2.0, at data/base/processor/after.php
| 1 | <?php |
| 2 | namespace Elementor\Data\Base\Processor; |
| 3 | |
| 4 | use Elementor\Data\Base\Processor; |
| 5 | |
| 6 | abstract class After extends Processor { |
| 7 | |
| 8 | /** |
| 9 | * Get conditions for running processor. |
| 10 | * |
| 11 | * @param array $args |
| 12 | * @param mixed $result |
| 13 | * |
| 14 | * @return bool |
| 15 | */ |
| 16 | public function get_conditions( $args, $result ) { |
| 17 | return true; |
| 18 | } |
| 19 | |
| 20 | /** |
| 21 | * Apply processor. |
| 22 | * |
| 23 | * @param $args |
| 24 | * @param $result |
| 25 | * |
| 26 | * @return mixed |
| 27 | */ |
| 28 | abstract public function apply( $args, $result ); |
| 29 | } |
| 30 |