D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
etb1lp46s9ed
/
www
/
ashadeepadarshschool.site
/
wp-content
/
plugins
/
back-core-elements
/
inc
/
Filename :
form.php
back
Copy
<?php if ( ! function_exists( 'back_get_cf7_forms' ) ) { /** * Get a list of all CF7 forms * * @return array */ function back_get_cf7_forms() { $forms = get_posts( [ 'post_type' => 'wpcf7_contact_form', 'post_status' => 'publish', 'posts_per_page' => -1, 'orderby' => 'title', 'order' => 'ASC', ] ); if ( ! empty( $forms ) ) { return wp_list_pluck( $forms, 'post_title', 'ID' ); } return []; } }