| @@ -1,5 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | +// Exit if accessed directly | |
| 3 | +if ( ! defined( 'ABSPATH' ) ) exit; | |
| 4 | + | |
| 2 | 5 | /* handle field output */ |
| 3 | 6 | function wppb_heading_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){ |
| 4 | 7 | if ( $field['field'] == 'Heading' ){ |
| 5 | 8 | $item_title = apply_filters( 'wppb_'.$form_location.'_heading_custom_field_'.$field['id'].'_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_title_translation', $field['field-title'], true ) ); |