| 1 |
<?php |
| 2 |
/* |
| 3 |
Plugin Name: Advanced Excerpt |
| 4 |
Plugin URI: http://wordpress.org/plugins/advanced-excerpt/ |
| 5 |
Description: Control the appearance of WordPress post excerpts |
| 6 |
Version: 4.3.9 |
| 7 |
Author: WPKube |
| 8 |
Author URI: https://wpkube.com |
| 9 |
Text Domain: advanced-excerpt |
| 10 |
*/ |
| 11 |
|
| 12 |
$GLOBALS['advanced_excerpt_version'] = '4.3.9'; |
| 13 |
|
| 14 |
function advanced_excerpt_load_textdomain() { |
| 15 |
load_plugin_textdomain( 'advanced-excerpt', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' ); |
| 16 |
} |
| 17 |
add_action( 'wp_loaded', 'advanced_excerpt_load_textdomain' ); |
| 18 |
|
| 19 |
require_once 'class/advanced-excerpt.php'; |
| 20 |
require_once 'functions/functions.php'; |
| 21 |
|
| 22 |
function advanced_excerpt_init() { |
| 23 |
global $advanced_excerpt; |
| 24 |
$advanced_excerpt = new Advanced_Excerpt( __FILE__ ); |
| 25 |
} |
| 26 |
add_action( 'init', 'advanced_excerpt_init', 5 ); |
| 27 |
|