OwlCyberSecurity - MANAGER
Edit File: functions.php
<?php if( !function_exists('neytri_pro_get_template_plugin_part') ) { function neytri_pro_get_template_plugin_part( $file_path, $module, $template, $slug ) { $html = ''; $template_path = NEYTRI_PRO_DIR_PATH . 'modules/' . esc_attr($module); $temp_path = $template_path . '/' . esc_attr($template); $plugin_file_path = ''; if ( ! empty( $temp_path ) ) { if ( ! empty( $slug ) ) { $plugin_file_path = "{$temp_path}-{$slug}.php"; if ( ! file_exists( $plugin_file_path ) ) { $plugin_file_path = $temp_path . '.php'; } } else { $plugin_file_path = $temp_path . '.php'; } } if ( $plugin_file_path && file_exists( $plugin_file_path ) ) { return $plugin_file_path; } return $file_path; } add_filter( 'neytri_get_template_plugin_part', 'neytri_pro_get_template_plugin_part', 20, 4 ); } if( !function_exists('neytri_pro_before_after_widget') ) { function neytri_pro_before_after_widget ( $content ) { $allowed_html = array( 'aside' => array( 'id' => array(), 'class' => array() ), 'div' => array( 'id' => array(), 'class' => array(), ) ); $data = wp_kses( $content, $allowed_html ); return $data; } } if( !function_exists('neytri_pro_widget_title') ) { function neytri_pro_widget_title( $content ) { $allowed_html = array( 'div' => array( 'id' => array(), 'class' => array() ), 'h2' => array( 'class' => array() ), 'h3' => array( 'class' => array() ), 'h4' => array( 'class' => array() ), 'h5' => array( 'class' => array() ), 'h6' => array( 'class' => array() ), 'span' => array( 'id' => array(), 'class' => array() ), 'p' => array( 'id' => array(), 'class' => array() ), ); $data = wp_kses( $content, $allowed_html ); return $data; } } # Filter HTML Output if(!function_exists('neytri_html_output')) { function neytri_html_output( $html ) { return apply_filters( 'neytri_html_output', $html ); } }