Skip to content
Snippets Groups Projects
Commit 6e67f36e authored by Christian Wach's avatar Christian Wach :soccer:
Browse files

Restore method name

parent b3487410
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,7 @@ class CFAFA_Form_Action_Product extends CFAFA_Form_Action_Base {
$form_id = acf_maybe_get( $form, 'ID' );
// Populate Product data array.
$product_data = $this->form_data_get( $form, $current_post_id, $action );
$product_data = $this->form_product_data( $form, $current_post_id, $action );
// Act with the data from the Form.
$product_data = $this->form_product_save( $product_data );
......@@ -194,7 +194,7 @@ class CFAFA_Form_Action_Product extends CFAFA_Form_Action_Base {
* @param string $action The customised name of the action.
* @return array $data The array of Product data.
*/
public function form_data_get( $form, $current_post_id, $action ) {
public function form_product_data( $form, $current_post_id, $action ) {
// Add Product ID.
$data['product_id'] = get_sub_field( $this->field_key . 'product_id' );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment