/* Plugin Name: Black Studio TinyMCE Widget Plugin URI: https://wordpress.org/plugins/black-studio-tinymce-widget/ Description: Adds a new "Visual Editor" widget type based on the native WordPress TinyMCE editor. Version: 2.2.10 Author: Black Studio Author URI: http://www.blackstudio.it Requires at least: 3.1 Tested up to: 4.5 License: GPLv3 Text Domain: black-studio-tinymce-widget Domain Path: /languages */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Main plugin class * * @package Black_Studio_TinyMCE_Widget * @since 2.0.0 */ if ( ! class_exists( 'Black_Studio_TinyMCE_Plugin' ) ) { final class Black_Studio_TinyMCE_Plugin { /** * Plugin version * * @var string * @since 2.0.0 */ public static $version = '2.2.10'; /** * The single instance of the plugin class * * @var object * @since 2.0.0 */ protected static $_instance = null; /** * Instance of admin class * * @var object * @since 2.0.0 */ protected static $admin = null; /** * Instance of admin pointer class * * @var object * @since 2.1.0 */ protected static $admin_pointer = null; /** * Instance of compatibility class * * @var object * @since 2.0.0 */ protected static $compatibility = null; /** * Instance of the text filters class * * @var object * @since 2.0.0 */ protected static $text_filters = null; /** * Return the main plugin instance * * @return object * @since 2.0.0 */ public static function instance() { if ( is_null( self::$_instance ) ) { self::$_instance = new self(); } return self::$_instance; } /** * Return the instance of the admin class * * @return object * @since 2.0.0 */ public static function admin() { return self::$admin; } /** * Return the instance of the admin pointer class * * @return object * @since 2.1.0 */ public static function admin_pointer() { return self::$admin_pointer; } /** * Return the instance of the compatibility class * * @return object * @since 2.0.0 */ public static function compatibility() { return self::$compatibility; } /** * Return the instance of the text filters class * * @return object * @since 2.0.0 */ public static function text_filters() { return self::$text_filters; } /** * Get plugin version * * @return string * @since 2.0.0 */ public static function get_version() { return self::$version; } /** * Get plugin basename * * @uses plugin_basename() * * @return string * @since 2.0.0 */ public static function get_basename() { return plugin_basename( __FILE__ ); } /** * Class constructor * * @uses add_action() * @uses add_filter() * @uses get_option() * @uses get_bloginfo() * * @global object $wp_embed * @since 2.0.0 */ protected function __construct() { // Include required files include_once( plugin_dir_path( __FILE__ ) . 'includes/class-widget.php' ); // Include and instantiate admin class on admin pages if ( is_admin() ) { include_once( plugin_dir_path( __FILE__ ) . 'includes/class-admin.php' ); self::$admin = Black_Studio_TinyMCE_Admin::instance(); include_once( plugin_dir_path( __FILE__ ) . 'includes/class-admin-pointer.php' ); self::$admin_pointer = Black_Studio_TinyMCE_Admin_Pointer::instance(); } // Include and instantiate text filter class on frontend pages else { include_once( plugin_dir_path( __FILE__ ) . 'includes/class-text-filters.php' ); self::$text_filters = Black_Studio_TinyMCE_Text_Filters::instance(); } // Register action and filter hooks add_action( 'plugins_loaded', array( $this, 'load_compatibility' ), 50 ); add_action( 'widgets_init', array( $this, 'widgets_init' ) ); } /** * Prevent the class from being cloned * * @return void * @since 2.0.0 */ protected function __clone() { _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ uh?' ), '2.0' ); } /** * Load compatibility class * * @uses apply_filters() * @uses get_bloginfo() * @uses plugin_dir_path() * * @return void * @since 2.0.0 */ public function load_compatibility() { // Compatibility load flag (for both deprecated functions and code for compatibility with other plugins) $load_compatibility = apply_filters( 'black_studio_tinymce_load_compatibility', true ); if ( $load_compatibility ) { include_once( plugin_dir_path( __FILE__ ) . 'includes/class-compatibility.php' ); self::$compatibility = Black_Studio_TinyMCE_Compatibility::instance(); } } /** * Widget initialization * * @uses is_blog_installed() * @uses register_widget() * * @return null|void * @since 2.0.0 */ public function widgets_init() { if ( ! is_blog_installed() ) { return; } register_widget( 'WP_Widget_Black_Studio_TinyMCE' ); } /** * Check if a widget is a Black Studio Tinyme Widget instance * * @param object $widget * @return boolean * @since 2.0.0 */ public function check_widget( $widget ) { return 'object' == gettype( $widget ) && ( 'WP_Widget_Black_Studio_TinyMCE' == get_class( $widget ) || is_subclass_of( $widget , 'WP_Widget_Black_Studio_TinyMCE' ) ); } } // END class Black_Studio_TinyMCE_Plugin } // END class_exists check if ( ! function_exists( 'bstw' ) ) { /** * Return the main instance to prevent the need to use globals * * @return object * @since 2.0.0 */ function bstw() { return Black_Studio_TinyMCE_Plugin::instance(); } /* Create the main instance */ bstw(); } // END function_exists bstw check else { /* Check for multiple plugin instances */ if ( ! function_exists( 'bstw_multiple_notice' ) ) { /** * Show admin notice when multiple instances of the plugin are detected * * @return void * @since 2.1.0 */ function bstw_multiple_notice() { global $pagenow; if ( 'widgets.php' == $pagenow ) { echo '
'; /* translators: error message shown when multiple instance of the plugin are detected */ echo '

' . esc_html( __( 'ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were detected. Please activate only one instance at a time.', 'black-studio-tinymce-widget' ) ) . '

'; echo '
'; } } add_action( 'admin_notices', 'bstw_multiple_notice' ); } // END function_exists bstw_multiple_notice check } // END else function_exists bstw check Hello! - 411.bg
  • гр. София, ул. Мюнхен 2

  • 0878 433 411 / 0885 880 230

  • office@411.bg

Hello!

This is my first post

By: admin
In: Greetings
0
Read MoreRead More

Sem isso, tua site caldear. Falhou.

O povo mudou. Hoje, de praticamente as companhias e serviços são originalmente encontrados através da net. Amanhã será mais perto de 95%. Será de que eles seroada encontrados? E quando o seu encontra-se, é melhor ser bom. Como a mãe disse, você só tem uma chance por fazer uma primeira impressão – e é a.

By: admin
In: Criar Blog
0
Read MoreRead More

Richtung in der Entwicklungsgeschichte von Webdesign.

Moderne Technologien zur Erstellung von Webseiten – Trends im Webdesign – sind immer wieder eine dieser gefragtesten Objekte der Analyse. Die Vielfalt der gestalterischen Ansätze, die Verfügbarkeit generell anerkannter (oder umgekehrt fragwürdiger) Benchmarks ferner eine beachtlich helle Tatkraft geben Analysten immer wieder heisse Denkanstöße. Datenautobahn (umgangssprachlich), vor allem darüber hinaus Russland, entwickelt sich schnellstens, und.

By: admin
In: Webseit
0
Read MoreRead More

Elektronisch Repositories plus M&een behandeling

Weet u dat M&een deal-making groeit in populariteit nu. En het is moeilijk te argumenteren dat u meespelen voor eventuele soorten business. Alle organisaties die deelnemen aan M&A de kwestie: “waarbij quicken het proces van fusies&acquisities?” en wij nam een resolutie antwoord op deze vraag. u behandel Online deal kamers. Wij recite odds Online Deal.

By: admin
In: Dataroom
0
Read MoreRead More

Welcome world

It’s my first article

By: admin
In: ! Без рубрики
0
Read MoreRead More

TEST

TEST text

By: admin
In: Uncategorized
0
Read MoreRead More

Connection Advice For Women Is Much Exclusive involving Men’s

Both men and women handle their friendly plus romantic relationships in different methods. Men usually try to avoid receiving too emotional, while ladies actively make things extremely personal. That’s why there is certain relationship advice for women available. There are just some things that didn’t even make sense to males that makes perfect sense to.

By: admin
In: Online Dating articles
0
Read MoreRead More

Online dating services services Tips For Single Men

Anyone who has been involved with speed seeing will tell you that it is definitely an experience. Some singles enjoy a lot of fun with acceleration dating and participate on a regular basis so that they can meet new visitors to share fun experiences with. Speed dating is an chance meet people that will be.

By: admin
In: Why use dating sites
0
Read MoreRead More

Internet dating foreign girls Tips For Men – Is usually Online Dating A Waste Of one’s For Guys

Before you start your online dating adventure (a quest that may change your daily life, or at the very least, raise your own personal thermostat) you should always figure out what precisely it is you’re hoping to find. Becoming clear and focused will help you not only select the best dating site for you, but.

By: admin
In: all kind of dating sites
0
Read MoreRead More

How to cope with this kind of When A Man Stops Dialling You

Trying to find and making completely new real connections is hardly easy. Discovering dates can be demanding for several of the 2 sexes. While there are a lot fellas and women far and wide, searching for anybody to date long-term tends to be disappointing. Sure, you can run across a date just about anywhere unfortunately.

By: admin
In: Online Dating Quality
0
Read MoreRead More
  • 1
  • 2
  • 4