PATH:
home
/
letacommog
/
www
/
wp-content
/
plugins
/
popup-maker
/
includes
<?php // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) { exit; } function pum_enabled_extensions() { return apply_filters( 'pum_enabled_extensions', array() ); } function pum_extension_enabled( $extension = '' ) { $enabled_extensions = pum_enabled_extensions(); return ! empty( $extension ) && array_key_exists( $extension, $enabled_extensions ); } function popmake_available_extensions() { $json_data = file_get_contents( POPMAKE_DIR . 'includes/extension-list.json' ); return json_decode( $json_data, true ); /* if(($extensions = get_site_transient('popup-maker-extension-list')) === false) { // data to send in our API request $api_params = array( 'edd_action' => 'extension_list', 'url' => home_url() ); // Call the custom API. $response = wp_remote_get( add_query_arg( $api_params, POPMAKE_API_URL ), array( 'timeout' => 15, 'sslverify' => false ) ); // make sure the response came back okay if ( is_wp_error( $response ) ) return array(); $extensions = json_decode( wp_remote_retrieve_body( $response ) ); set_site_transient( 'popup-maker-extension-list', $extensions, 86400 ); } return $extensions; */ } add_filter( 'popmake_existing_extension_images', 'popmake_core_extension_images', 10 ); function popmake_core_extension_images( $array ) { return array_merge( $array, array( 'core-extensions-bundle', 'aweber-integration', 'mailchimp-integration', 'remote-content', 'scroll-triggered-popups', 'popup-analytics', 'forced-interaction', 'age-verification-modals', 'advanced-theme-builder', 'exit-intent-popups', 'ajax-login-modals', 'advanced-targeting-conditions', 'secure-idle-user-logout', 'terms-conditions-popups', ) ); }
[+]
..
[-] pum-deprecated-v1.7.php
[edit]
[-] pum-template-hooks.php
[edit]
[-] input-options.php
[edit]
[-] general-functions.php
[edit]
[-] migrations.php
[edit]
[-] actions.php
[edit]
[+]
libs
[-] popup-functions.php
[edit]
[-] class-popmake-popup-theme-fields.php
[edit]
[-] pum-general-functions.php
[edit]
[-] google-fonts.php
[edit]
[+]
functions
[-] extension-list.json
[edit]
[-] defaults.php
[edit]
[-] pum-deprecated.php
[edit]
[-] theme-functions.php
[edit]
[-] pum-install-functions.php
[edit]
[+]
pum-sdk
[-] class-pum-fields.php
[edit]
[-] extensions-functions.php
[edit]
[-] license-handler.php
[edit]
[-] class-pum.php
[edit]
[+]
importer
[+]
deprecated
[-] plugin-updater.php
[edit]
[-] pum-popup-functions.php
[edit]
[-] ajax-calls.php
[edit]
[+]
admin
[-] install.php
[edit]
[+]
modules
[-] google-fonts.json
[edit]
[-] class-pum-form.php
[edit]
[-] pum-template-functions.php
[edit]
[-] compat.php
[edit]
[+]
batch
[-] class-popmake-popup-fields.php
[edit]
[-] misc-functions.php
[edit]
[-] pum-misc-functions.php
[edit]
[-] css-functions.php
[edit]
[-] class-popmake-fields.php
[edit]
[-] class-popmake-cron.php
[edit]
[-] templates.php
[edit]
[-] pum-deprecated-v1.4.php
[edit]
[-] class-pum-popup-query.php
[edit]
[+]
compatibility
[-] load-popups.php
[edit]
[+]
integrations