X7ROOT File Manager
Current Path:
/home/magneti1/public_html/wp-content/plugins/everest-forms/includes
home
/
magneti1
/
public_html
/
wp-content
/
plugins
/
everest-forms
/
includes
/
ðŸ“
..
ðŸ“
Helpers
ðŸ“
RestApi
ðŸ“
abstracts
ðŸ“
admin
ðŸ“
blocks
📄
class-everest-forms.php
(13.76 KB)
📄
class-evf-ajax.php
(71.97 KB)
📄
class-evf-autoloader.php
(1.92 KB)
📄
class-evf-background-process-import-entries.php
(5.15 KB)
📄
class-evf-background-updater.php
(3.27 KB)
📄
class-evf-cache-helper.php
(2.32 KB)
📄
class-evf-cron.php
(1.83 KB)
📄
class-evf-deprecated-action-hooks.php
(3.91 KB)
📄
class-evf-deprecated-filter-hooks.php
(3.64 KB)
📄
class-evf-emails.php
(19.32 KB)
📄
class-evf-fields.php
(3.58 KB)
📄
class-evf-form-handler.php
(13.66 KB)
📄
class-evf-form-task.php
(70.19 KB)
📄
class-evf-forms-features.php
(1.49 KB)
📄
class-evf-frontend-scripts.php
(15.58 KB)
📄
class-evf-install.php
(20.96 KB)
📄
class-evf-integrations.php
(3.3 KB)
📄
class-evf-log-levels.php
(2.61 KB)
📄
class-evf-logger.php
(8.27 KB)
📄
class-evf-post-types.php
(5.13 KB)
📄
class-evf-privacy.php
(7.41 KB)
📄
class-evf-report-cron.php
(6.93 KB)
📄
class-evf-reporting.php
(3.48 KB)
📄
class-evf-session-handler.php
(8.02 KB)
📄
class-evf-shortcodes.php
(2.04 KB)
📄
class-evf-smart-tags.php
(19.59 KB)
📄
class-evf-template-loader.php
(13.08 KB)
📄
class-evf-validation.php
(934 B)
ðŸ“
elementor
📄
evf-conditional-functions.php
(1.21 KB)
📄
evf-core-functions.php
(197.64 KB)
📄
evf-deprecated-functions.php
(6.22 KB)
📄
evf-entry-functions.php
(9.22 KB)
📄
evf-formatting-functions.php
(25.18 KB)
📄
evf-notice-functions.php
(6.23 KB)
📄
evf-template-functions.php
(1.2 KB)
📄
evf-template-hooks.php
(439 B)
📄
evf-update-functions.php
(16.68 KB)
ðŸ“
export
ðŸ“
fields
ðŸ“
interfaces
ðŸ“
libraries
ðŸ“
log-handlers
ðŸ“
shortcodes
ðŸ“
stats
ðŸ“
templates
Editing: class-evf-shortcodes.php
<?php /** * Shortcodes * * @package EverestForms\Classes * @version 1.0.0 */ defined( 'ABSPATH' ) || exit; /** * EverestForms Shortcodes class. */ class EVF_Shortcodes { /** * Init shortcodes. */ public static function init() { self::init_shortcode_hooks(); $shortcodes = array( 'everest_form' => __CLASS__ . '::form', ); foreach ( $shortcodes as $shortcode => $function ) { add_shortcode( apply_filters( "{$shortcode}_shortcode_tag", $shortcode ), $function ); } } /** * Shortcode Wrapper. * * @param string[] $function Callback function. * @param array $atts Attributes. Default to empty array. * @param array $wrapper Customer wrapper data. * * @return string */ public static function shortcode_wrapper( $function, $atts = array(), $wrapper = array( 'class' => 'everest-forms', 'before' => null, 'after' => null, ) ) { $form_id = isset( $atts['id'] ) ? $atts['id'] : ''; $is_theme_style = get_post_meta( $form_id, 'everest_forms_enable_theme_style', true ); if ( 'default' === $is_theme_style ) { $wrapper['class'] .= ' evf-frontend-form-default'; wp_register_style( 'evf-frontend-default-css', EVF()->plugin_url() . '/assets/css/everest-forms-default-frontend.css', array(), EVF_VERSION ); wp_enqueue_style( 'evf-frontend-default-css' ); } ob_start(); $wrap_before = empty( $wrapper['before'] ) ? '<div class="' . esc_attr( $wrapper['class'] ) . '">' : $wrapper['before']; echo wp_kses_post( $wrap_before ); call_user_func( $function, $atts ); $wrap_after = empty( $wrapper['after'] ) ? '</div>' : $wrapper['after']; echo wp_kses_post( $wrap_after ); return ob_get_clean(); } /** * Form shortcode. * * @param array $atts Attributes. * @return string */ public static function form( $atts ) { return self::shortcode_wrapper( array( 'EVF_Shortcode_Form', 'output' ), $atts ); } /** * Initialize shortcode. */ public static function init_shortcode_hooks() { self::shortcode_wrapper( array( 'EVF_Shortcode_Form', 'hooks' ) ); } }
Upload File
Create Folder