Fix File
•
/
home
/
sportsfe...
/
httpdocs
/
wp-conte...
/
plugins
/
themify-...
•
File:
themify-popup.php
•
Content:
<?php /* Plugin Name: Themify Popup Plugin URI: https://themify.me/popup Version: 1.4.1 Author: Themify Description: A free plugin to display popups for ads, newsletter subscriptions, and general info. It comes with various popup styles (classic, slide-out, fullscreen, etc.). Popups can be scheduled and configured to show on certain posts, pages, categories, and user roles. Text Domain: themify-popup Domain Path: /languages Requires PHP: 7.2 Compatibility: 5.0.0 */ defined( 'ABSPATH' ) or die( '-1' ); const THEMIFY_POPUP_VERSION='1.4.1'; /** * Bootstrap Popup plugin * * @since 1.0 */ function themify_popup_setup() { if( ! defined( 'THEMIFY_POPUP_DIR' ) ){ define( 'THEMIFY_POPUP_DIR', trailingslashit( plugin_dir_path( __FILE__ ) ) ); } if( ! defined( 'THEMIFY_POPUP_URI' ) ){ define( 'THEMIFY_POPUP_URI', trailingslashit( plugin_dir_url( __FILE__ ) ) ); } /* load Themify Metabox */ if ( ! is_file( 'themify_metabox_bootstrap' ) ) { include THEMIFY_POPUP_DIR . 'includes/themify-metabox/themify-metabox.php'; } include THEMIFY_POPUP_DIR . 'includes/system.php'; Themify_Popup::init(); } add_action( 'after_setup_theme', 'themify_popup_setup' ); function themify_popup_activate() { include trailingslashit( __DIR__ ) . 'sample/sample.php'; themify_popup_setup(); Themify_Popup::register_post_type(); flush_rewrite_rules(); } register_activation_hook( __FILE__, 'themify_popup_activate' ); add_filter( 'plugin_row_meta', 'themify_popup_plugin_meta', 10, 2 ); function themify_popup_plugin_meta( $links, $file ) { if ( plugin_basename( __FILE__ ) === $file ) { $row_meta = array( 'changelogs' => '<a href="' . esc_url( 'https://themify.org/changelogs/' ) . basename( dirname( $file ) ) .'.txt" target="_blank" aria-label="' . esc_attr__( 'Plugin Changelogs', 'themify' ) . '">' . esc_html__( 'View Changelogs', 'themify' ) . '</a>' ); return array_merge( $links, $row_meta ); } return (array) $links; }
•
Search:
•
Replace:
Function
Edit by line
Download
Information
Rename
Copy
Move
Delete
Chmod
List