Submit
Path:
~
/
home
/
getwphos
/
www
/
almajd14
/
wp-content
/
plugins
/
qi-addons-for-elementor
/
inc
/
plugins
/
wp-forms
/
File Content:
helper.php
<?php if ( ! defined( 'ABSPATH' ) ) { // Exit if accessed directly. exit; } if ( ! function_exists( 'qi_addons_for_elementor_get_wp_forms_forms' ) ) { /** * Function that return array of wp forms forms * * @param bool $enable_default - add first element empty for default value * * @return array */ function qi_addons_for_elementor_get_wp_forms_forms() { $options = array(); $contact_forms = get_posts( 'post_type="wpforms"&numberposts=-1' ); if ( ! empty( $contact_forms ) ) { foreach ( $contact_forms as $contact_form ) { $options[ $contact_form->ID ] = esc_html( $contact_form->post_title ); } } else { $options[0] = esc_html__( 'No contact forms found', 'qi-addons-for-elementor' ); } return $options; } }
Submit
FILE
FOLDER
Name
Size
Permission
Action
shortcodes
---
0755
class-qiaddonsforelementor-wp-forms.php
1303 bytes
0644
helper.php
762 bytes
0644
include.php
185 bytes
0644
N4ST4R_ID | Naxtarrr