'gf_repeater',
'src' => SUPERADDONS_GF_REPEATER_PLUGIN_URL."libs/wp_repeater.js",
'version' => time(),
'deps' => array( 'jquery'),
'enqueue' => array(
array( 'field_types' => array( 'repeater_end' ) ),
),
),
);
return array_merge( parent::scripts(), $scripts );
}else{
return parent::scripts();
}
}
public function styles() {
$styles = array(
array(
'handle' => 'repeater_icon',
'src' => SUPERADDONS_GF_REPEATER_PLUGIN_URL."libs/css/repeatericons.css",
'version' => time(),
'enqueue' => array(
array( 'field_types' => array( 'repeater_end' ) )
)
),
array(
'handle' => 'gf_repeater',
'src' => SUPERADDONS_GF_REPEATER_PLUGIN_URL."libs/wp_repeater.css",
'version' => time(),
'enqueue' => array(
array( 'field_types' => array( 'repeater_end' ) )
)
),
);
return array_merge( parent::styles(), $styles );
}
}