/
var
/
www
/
vhosts
/
ihelp.ro
/
ajutam.ro
/
wp-content
/
plugins
/
give
/
includes
/
/var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/give/includes
mkdir
upload
Name
Size
Mode
Actions
admin/
-
0755
rm
api/
-
0755
rm
database/
-
0755
rm
deprecated/
-
0755
rm
donors/
-
0755
rm
emails/
-
0755
rm
forms/
-
0755
rm
frontend/
-
0755
rm
gateways/
-
0755
rm
libraries/
-
0755
rm
payments/
-
0755
rm
actions.php
9723
0644
edit
dl
rm
ajax-functions.php
20842
0644
edit
dl
rm
class-give-async-process.php
1177
0644
edit
dl
rm
class-give-background-updater.php
13110
0644
edit
dl
rm
class-give-cache-setting.php
6402
0644
edit
dl
rm
class-give-cache.php
18186
0644
edit
dl
rm
class-give-cli-commands.php
33154
0644
edit
dl
rm
class-give-comment.php
17386
0644
edit
dl
rm
class-give-cron.php
5157
0644
edit
dl
rm
class-give-donate-form.php
24078
0644
edit
dl
rm
class-give-donor.php
41007
0644
edit
dl
rm
class-give-email-access.php
8503
0644
edit
dl
rm
class-give-license-handler.php
27610
0644
edit
dl
rm
class-give-logging.php
7492
0644
edit
dl
rm
class-give-readme-parser.php
1259
0644
edit
dl
rm
class-give-roles.php
10783
0644
edit
dl
rm
class-give-scripts.php
25159
0644
edit
dl
rm
class-give-session.php
15164
0644
edit
dl
rm
class-give-stats.php
12049
0644
edit
dl
rm
class-give-template-loader.php
3638
0644
edit
dl
rm
class-give-tooltips.php
4670
0644
edit
dl
rm
class-give-translation.php
8466
0644
edit
dl
rm
class-notices.php
19401
0644
edit
dl
rm
country-functions.php
77972
0644
edit
dl
rm
currencies-list.php
48937
0644
edit
dl
rm
currency-functions.php
11784
0644
edit
dl
rm
error-tracking.php
2996
0644
edit
dl
rm
filters.php
8946
0644
edit
dl
rm
formatting.php
25206
0644
edit
dl
rm
install.php
16535
0644
edit
dl
rm
login-register.php
10578
0644
edit
dl
rm
misc-functions.php
113297
0644
edit
dl
rm
plugin-compatibility.php
3247
0644
edit
dl
rm
post-types.php
18224
0644
edit
dl
rm
price-functions.php
2895
0644
edit
dl
rm
process-donation.php
47979
0644
edit
dl
rm
setting-functions.php
4461
0644
edit
dl
rm
shortcodes.php
29823
0644
edit
dl
rm
template-functions.php
13292
0644
edit
dl
rm
user-functions.php
16145
0644
edit
dl
rm
Edit:
/var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/give/includes/plugin-compatibility.php
(3247B)
<?php /** * Plugin Compatibility * * Functions for compatibility with other plugins. * * @package Give * @subpackage Functions/Compatibility * @copyright Copyright (c) 2016, GiveWP * @license https://opensource.org/licenses/gpl-license GNU Public License * @since 1.4 */ /** * If Tickera is active then allow TCPDF calls in HTML. * * TCPDF defines this as false by default as a security precaution. Because Tickera uses GiveWP's composer autoloaded * TCPDF the constant is false. Therefore, we will set it to true so the QR code feature works as expected. * * GitHub Issue: * See: https://tcpdf.org/examples/example_049/ * * @since 2.5.4 */ function give_tickera_qr_compatibility() { if ( is_plugin_active( 'tickera-event-ticketing-system/tickera.php' ) ) { define( 'K_TCPDF_CALLS_IN_HTML', true ); } } add_action( 'plugins_loaded', 'give_tickera_qr_compatibility' ); /** * Disables the mandrill_nl2br filter while sending Give emails. * * @return void * @since 1.4 */ function give_disable_mandrill_nl2br() { add_filter( 'mandrill_nl2br', '__return_false' ); } add_action( 'give_email_send_before', 'give_disable_mandrill_nl2br' ); /** * This function will clear the Yoast SEO sitemap cache on update of settings * * @return void * @since 1.8.9 */ function give_clear_seo_sitemap_cache_on_settings_change() { // Load required file if the fn 'is_plugin_active' doesn't exists. if ( ! function_exists( 'is_plugin_active' ) ) { require_once ABSPATH . 'wp-admin/includes/plugin.php'; } if ( ( is_plugin_active( 'wordpress-seo/wp-seo.php' ) || is_plugin_active( 'wordpress-seo-premium/wp-seo-premium.php' ) ) && class_exists( 'WPSEO_Sitemaps_Cache' ) ) { $forms_singular_option = give_get_option( 'forms_singular' ); $forms_archive_option = give_get_option( 'forms_singular' ); // If there is change detected for Single Form View and Form Archives options then proceed. if ( ( isset( $_POST['forms_singular'] ) && $_POST['forms_singular'] !== $forms_singular_option ) || ( isset( $_POST['forms_archives'] ) && $_POST['forms_archives'] !== $forms_archive_option ) ) { // If Yoast SEO or Yoast SEO Premium plugin exists, then update seo sitemap cache. $yoast_sitemaps_cache = new WPSEO_Sitemaps_Cache(); if ( method_exists( $yoast_sitemaps_cache, 'clear' ) ) { WPSEO_Sitemaps_Cache::clear(); } } } } add_action( 'give-settings_save_display', 'give_clear_seo_sitemap_cache_on_settings_change' ); /** * This is support for the plugin Elementor. This function * disables the Give Shortcodes button on the Elementor's * editor page. * * See link: https://github.com/impress-org/give/issues/3171#issuecomment-387471355 * * @return boolean * @since 2.1.3 */ function give_elementor_hide_shortcodes_button() { /** * Is the plugin: Elementor activated? */ if ( is_plugin_active( 'elementor/elementor.php' ) ) { /** * Check user is on the Elementor's editor page, then hide Give Shortcodes Button. */ if ( isset( $_GET['action'] ) && 'elementor' === give_clean( $_GET['action'] ) ) { return false; } } return true; } add_filter( 'give_shortcode_button_condition', 'give_elementor_hide_shortcodes_button', 11 );
Save
cmd:
run