Skip to content

Commit

Permalink
Require oik-contact-form.php for bw_contact_form_id() #207
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed Sep 13, 2022
1 parent c647a00 commit 9bbcfce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shortcodes/oik-contact-field.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ function bw_contact_field( $atts, $content, $tag ) {
oik_require( 'includes/bw_register.php');
oik_require_lib( 'bw_fields');
oik_require( 'includes/bw_metadata.php');
oik_require( 'shortcodes/oik-contact-form.php');

$label = bw_array_get_from( $atts, '0,label', 'field' );
$name = bw_contact_field_name_from_label( $label );
Expand Down

0 comments on commit 9bbcfce

Please sign in to comment.