Advertisement
yappy

Untitled

Apr 24th, 2017
2,537
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Unicon 0.64 KB | None | 0 0
  1. <?php
  2. /*
  3. Plugin Name: Pastebin
  4. Plugin URI:  https://wordpress.org/plugins/pastebin-embed/
  5. Description: Embed pastes from pastebin.com into your WordPress site.
  6. Version:     1.5
  7. Author:      Rami Yushuvaev
  8. Author URI:  https://GenerateWP.com/
  9. Text Domain: pastebin-embed
  10. */
  11.  
  12.  
  13.  
  14. /**
  15.  * Security check
  16.  * Prevent direct access to the file.
  17.  *
  18.  * @since 1.2
  19.  */
  20. if ( ! defined( 'ABSPATH' ) ) {
  21.     exit;
  22. }
  23.  
  24.  
  25.  
  26. /**
  27.  * Include plugin files
  28.  *
  29.  * @since 1.5
  30.  */
  31. include_once ( plugin_dir_path( __FILE__ ) . 'includes/i18n.php' );
  32. include_once ( plugin_dir_path( __FILE__ ) . 'includes/embed.php' );
  33. include_once ( plugin_dir_path( __FILE__ ) . 'includes/shortcode.php' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement