Skip to content

Commit

Permalink
v 0.16.2
Browse files Browse the repository at this point in the history
- hooks on form generators.
  • Loading branch information
Darklg committed Oct 1, 2024
1 parent 25b0d5a commit b6b8757
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions inc/form.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ function wpu_extranet_get_form_html($form_id, $fields = array(), $args = array()
$args['hidden_fields'] = array();
}

$args = apply_filters('wpu_extranet_get_form_html__args', $args, $form_id, $fields);
$fields = apply_filters('wpu_extranet_get_form_html__fields', $fields, $form_id, $args);

$form_attributes = '';
foreach ($fields as $field_id => $field) {
if (isset($field['type']) && $field['type'] == 'file') {
Expand Down
4 changes: 2 additions & 2 deletions wpu_extranet.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/*
Plugin Name: WPU Extranet
Description: Simple toolbox to create an extranet or a customer account
Version: 0.16.1
Version: 0.16.2
Author: Darklg
Author URI: https://darklg.me/
Text Domain: wpu_extranet
Expand All @@ -18,7 +18,7 @@
Update URI: https://github.com/WordPressUtilities/wpu_extranet
*/

define('WPU_EXTRANET_VERSION', '0.16.1');
define('WPU_EXTRANET_VERSION', '0.16.2');

/* ----------------------------------------------------------
Settings
Expand Down

0 comments on commit b6b8757

Please sign in to comment.