id(); //phpcs:ignore } /* Scan Form Tags */ if($post_id!=""){ $cf7adn_form = WPCF7_ContactForm::get_instance($post_id); $cf7adntags = $cf7adn_form->collect_mail_tags(); if (($key = array_search('paypal-pro', $cf7adntags)) !== false) { unset($cf7adntags[$key]); } } if ( !function_exists( 'cf7adn_inlineScript_select2' ) ) { function cf7adn_inlineScript_select2() { ob_start(); ?> ( function($) { jQuery('#cf7adn_currency, #cf7adn_success_returnurl, #cf7adn_cancel_returnurl, #cf7adn_amount, #cf7adn_description, #cf7adn_quantity, #cf7adn_email' ).select2(); } )( jQuery ); 'Australian Dollar', 'BRL' => 'Brazilian Real', 'CAD' => 'Canadian Dollar', 'CZK' => 'Czech Koruna', 'DKK' => 'Danish Krone', 'EUR' => 'Euro', 'HKD' => 'Hong Kong Dollar', 'HUF' => 'Hungarian Forint', 'ILS' => 'Israeli New Sheqel', 'JPY' => 'Japanese Yen', 'MYR' => 'Malaysian Ringgit', 'MXN' => 'Mexican Peso', 'NOK' => 'Norwegian Krone', 'NZD' => 'New Zealand Dollar', 'PHP' => 'Philippine Peso', 'PLN' => 'Polish Zloty', 'GBP' => 'Pound Sterling', 'RUB' => 'Russian Ruble', 'SGD' => 'Singapore Dollar', 'SEK' => 'Swedish Krona', 'CHF' => 'Swiss Franc', 'TWD' => 'Taiwan New Dollar', 'THB' => 'Thai Baht', 'TRY' => 'Turkish Lira', 'USD' => 'U.S. Dollar' ); $selected = ''; $args = array( 'post_type' => array( 'page' ), 'orderby' => 'title', 'posts_per_page' => -1 ); $pages = get_posts( $args ); //phpcs:ignore $all_pages = array(); if ( !empty( $pages ) ) { foreach ( $pages as $page ) { //phpcs:ignore $all_pages[$page->ID] = $page->post_title; } } echo '
' . '
' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . ''; /** * - Add new field at the middle. * * @var int $post_id */ do_action( CF7ADN_PREFIX . '/add/fields/middle', $post_id ); echo '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . ''; /** * - Add new field at the end. * * @var int $post_id */ do_action( CF7ADN_PREFIX . '/add/fields/end', $post_id ); echo '' . '' . '
' . '' . '' . '' . '' . '
' . '' . '' . '' . '' . '
' . '' . '' . '' . '' . '
' . '' . '' . '' . '' . '
' . '' . '' . '' . '' . '
' . '' . '' . '' . '' . '
' . '' . '' . '' . '' . '
' . '' . '' . '' . '' . '
' . '' . '' . '' . '' . '
' . '' . '' . '' . '' . '
' . '' . '' . '' . '' . '
' . '' . '' . '' . '' . '
' . '' . '' . '' . '' . '
' . '' . '' . '' . '' . '
' . '' . '
' . '' . '' . '' . '
' . '' . '' . '' . '
' . '' . '' . '' . '
' . '' . '' . '' . '
' . '' . '' . '' . '
' . '' . '' . '' . '
' . '' . '' . '' . '
' . '' . '' . '' . '
' . '
' . '
'; /** * Add new post box to display the information. */ do_action( CF7ADN_PREFIX . '/postbox' ); echo '
' . '
'; add_action('admin_print_footer_scripts', function() { ob_start(); ?>