PluginProbe
Podcast Player – Your Podcasting Companion / 2.3
Podcast Player – Your Podcasting Companion v2.3
8.3.3 8.3.2 8.3.1 8.3.0 8.2.3 8.2.2 8.2.1 8.2.0 8.1.0 trunk 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.9 2.2 2.3 2.4 2.5 2.8.0 2.9.0 3.0.0 All 123 releases
podcast-player / podcast-player.php

podcast-player.php in Podcast Player – Your Podcasting Companion 2.3, at podcast-player.php

67 lines 2.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * The plugin bootstrap file
4 *
5 * This file is read by WordPress to generate the plugin information in the plugin
6 * admin area. This file also includes all of the dependencies used by the plugin
7 * and defines a function that starts the plugin.
8 *
9 * @link https://www.vedathemes.com
10 * @since 1.0.0
11 * @package Podcast_Player
12 *
13 * @wordpress-plugin
14 * Plugin Name: podcast player
15 * Plugin URI: https://vedathemes.com/blog/vedaitems/podcast-player-pro/
16 * Description: Host your podcast episodes anywhere, display them only using podcast feed url. Use custom widget or shortcode to display podcast player anywhere on your site.
17 * Version: 2.3.0
18 * Author: vedathemes
19 * Author URI: https://www.vedathemes.com
20 * License: GPL-3.0+
21 * License URI: http://www.gnu.org/licenses/gpl-3.0.txt
22 * Text Domain: podcast-player
23 * Domain Path: /lang
24 */
25
26 // If this file is called directly, abort.
27 if ( ! defined( 'WPINC' ) ) {
28 die;
29 }
30
31 // Currently plugin version.
32 define( 'PODCAST_PLAYER_VERSION', '2.3.0' );
33
34 // Define plugin constants.
35 define( 'PODCAST_PLAYER_DIR', plugin_dir_path( __FILE__ ) );
36
37 // Load plugin textdomain.
38 add_action( 'plugins_loaded', 'podcast_player_plugins_loaded' );
39
40 // Load plugin's bridge functionality.
41 require_once PODCAST_PLAYER_DIR . '/bridge/functions.php';
42 require_once PODCAST_PLAYER_DIR . '/bridge/class-instance-counter.php';
43
44 // Load plugin's front-end functionality.
45 require_once PODCAST_PLAYER_DIR . '/frontend/inc/class-display.php';
46 require_once PODCAST_PLAYER_DIR . '/frontend/inc/class-feed.php';
47 require_once PODCAST_PLAYER_DIR . '/frontend/class-frontend.php';
48
49 // Load plugin's admin functionality.
50 require_once PODCAST_PLAYER_DIR . '/backend/class-backend.php';
51
52 // Load premium features (if exist).
53 if ( file_exists( PODCAST_PLAYER_DIR . '/pp-pro/pp-pro.php' ) ) {
54 require_once PODCAST_PLAYER_DIR . '/pp-pro/pp-pro.php';
55 }
56
57 if ( ! function_exists( 'podcast_player_plugins_loaded' ) ) {
58 /**
59 * Load plugin text domain.
60 *
61 * @since 1.0.0
62 */
63 function podcast_player_plugins_loaded() {
64 load_plugin_textdomain( 'podcast-player', false, PODCAST_PLAYER_DIR . 'lang/' );
65 }
66 }
67