Initial commit

This commit is contained in:
Almira Krdzic
2018-08-06 15:41:19 +02:00
commit 60fe7f93e5
217 changed files with 84900 additions and 0 deletions

View File

@@ -0,0 +1,58 @@
<?php
/**
* Gravity Flow Step Feed Batchbook
*
* @package GravityFlow
* @subpackage Classes/Gravity_Flow_Step_Feed_Batchbook
* @copyright Copyright (c) 2016-2018, Steven Henty S.L.
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
* @since 1.3.1.4
*/
if ( ! class_exists( 'GFForms' ) ) {
die();
}
/**
* Class Gravity_Flow_Step_Feed_Batchbook
*/
class Gravity_Flow_Step_Feed_Batchbook extends Gravity_Flow_Step_Feed_Add_On {
/**
* The step type.
*
* @var string
*/
public $_step_type = 'batchbook';
/**
* The name of the class used by the add-on.
*
* @var string
*/
protected $_class_name = 'GFBatchbook';
/**
* Returns the step label.
*
* @return string
*/
public function get_label() {
return 'Batchbook';
}
/**
* Returns the feed name.
*
* @param array $feed The Batchbook feed properties.
*
* @return string
*/
public function get_feed_label( $feed ) {
$label = $feed['meta']['feed_name'];
return $label;
}
}
Gravity_Flow_Steps::register( new Gravity_Flow_Step_Feed_Batchbook() );