rep_install(); } public function rep_instances(): array { return apply_filters( 'jet-form-builder/conditional-block/functions', array( new Function_Show(), new Function_Hide(), ) ); } /** * @param string $slug * * @return Base_Function * @throws Repository_Exception */ public function get_function( string $slug ): Base_Function { return $this->rep_get_item( $slug ); } /** * @return array */ public function to_array(): array { return Array_Tools::to_array( $this->rep_get_items() ); } }