add_new_field.php
4 weeks ago
advanced_field_options.php
4 weeks ago
custom_xml_help.php
4 weeks ago
functions_editor.php
4 weeks ago
functions_editor.php
35 lines
| 1 | <?php defined( 'ABSPATH' ) || exit; ?> |
| 2 | <style type="text/css"> |
| 3 | .wpae-collapser { |
| 4 | float: right; |
| 5 | height: 20px; |
| 6 | width: 20px; |
| 7 | background: url('<?php echo esc_url( PMXE_ROOT_URL . '/static/img/collapser.png' ); ?>') 0 0; |
| 8 | margin-right: 10px; |
| 9 | background-size: cover; |
| 10 | } |
| 11 | |
| 12 | .closed .wpae-collapser{ |
| 13 | background: url('<?php echo esc_url( PMXE_ROOT_URL . '/static/img/collapser.png' ); ?>') 0 20px; |
| 14 | background-size: cover; |
| 15 | } |
| 16 | </style> |
| 17 | <div class="wpallexport-collapsed wpallexport-section wpallexport-file-options functions-editor closed" style="margin-top: 0px;"> |
| 18 | <div class="wpallexport-content-section" style="padding-bottom: 0; margin-bottom: 10px;"> |
| 19 | <div class="wpallexport-collapsed-header edit-functions-collapsed-header" style="padding-left: 25px; background: none;"> |
| 20 | <div class="wpae-collapser"></div> |
| 21 | <?php /* translators: %s: functions file path */ ?> |
| 22 | <h3 style="font-size: 14px; line-height: normal; margin-top: 11px; color: #464646;"><?php esc_html_e('Function Editor', 'wp-all-export');?><a href="#help" class="wpallexport-help" title="<?php printf(esc_html__("Add functions here for use during your export. You can access this file at %s", "wp-all-export"), esc_attr(preg_replace("%.*wp-content%", "wp-content", $functions)));?>" style="top: -1px;">?</a></h3> |
| 23 | </div> |
| 24 | <div class="wpallexport-collapsed-content" style="padding: 0; overflow: hidden; height: auto; display: none;"> |
| 25 | <div class="wpallexport-collapsed-content-inner" style="padding-top:0;"> |
| 26 | <textarea id="wp_all_export_code" name="wp_all_export_code"><?php echo (empty($functions_content)) ? "<?php\n\n?>": esc_textarea($functions_content);?></textarea> |
| 27 | <div class="wpallexport-free-edition-notice php-functions-upgrade" style="margin: 15px 0; display: none;"> |
| 28 | <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=5839967&discount=welcome-upgrade-99&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=custom-php" style="font-size: 1.3em;"><?php esc_html_e('Upgrade to Pro to use Custom PHP Functions','wp-all-export');?></a> |
| 29 | <p><?php esc_html_e('If you already own it, remove the free edition and install the Pro edition.','wp-all-export');?></p> |
| 30 | </div> |
| 31 | </div> |
| 32 | </div> |
| 33 | </div> |
| 34 | </div> |
| 35 |