@return array */ public function localization_filter( $config ) { if ( ! array_key_exists( 'initial_document', $config ) ) { return $config; } if ( ! array_key_exists( 'panel', $config['initial_document'] ) ) { return $config; } if ( ! array_key_exists( 'elements_categories', $config['initial_document']['panel'] ) ) { return $config; } if ( ! array_key_exists( 'pro-elements', $config['initial_document']['panel']['elements_categories'] ) ) { return $config; } if ( ! array_key_exists( 'obfx-elementor-widgets', $config['initial_document']['panel']['elements_categories'] ) ) { return $config; } $elements_categories = $config['initial_document']['panel']['elements_categories']; $obfx_cat = array( 'obfx-elementor-widgets' => $elements_categories['obfx-elementor-widgets'] ); unset( $elements_categories['obfx-elementor-widgets'] ); $config['initial_document']['panel']['elements_categories'] = $this->insert_before_element( $elements_categories, 'pro-elements', $obfx_cat ); $elements_categories = $config['initial_document']['panel']['elements_categories']; if ( $this->should_add_placeholders() && array_key_exists( 'obfx-elementor-widgets-pro', $elements_categories ) ) { $placeholders_cat = array( 'obfx-elementor-widgets-pro' => $elements_categories['obfx-elementor-widgets-pro'] ); unset( $elements_categories['obfx-elementor-widgets-pro'] ); $config['initial_document']['panel']['elements_categories'] = $this->insert_before_element( $elements_categories, 'pro-elements', $placeholders_cat ); } return $config; } /** * Insert element after specific key. * * @param array $array Destination array. * @param string $key Where to insert. * @param array $el What to insert. * @return array */ private function insert_before_element( $array, $key, $el ) { $keys = array_keys( $array ); $index = array_search( $key, $keys ); $pos = false === $index ? count( $array ) : $index; return array_merge( array_slice( $array, 0, $pos ), $el, array_slice( $array, $pos ) ); } /** * Load font awesome scripts in admin. */ public function load_fa_styles() { wp_enqueue_style( 'font-awesome-5-all', ELEMENTOR_ASSETS_URL . '/lib/font-awesome/css/all.min.css', array(), '2.10.9' ); } /** * Load required scripts in admin. */ public function enqueue_editor_scripts() { wp_add_inline_script( 'elementor-editor', ' $e.routes.on(\'run\', function(){ setTimeout( function() { jQuery( \'#elementor-panel-category-obfx-elementor-widgets-pro .elementor-element-wrapper\' ).on( \'click mousedown drop\', function(e) { e.preventDefault(); }); jQuery( \'#elementor-panel-category-obfx-elementor-widgets-pro .elementor-element-wrapper\' ).on( \'click drop\', function(e) { window.open( \'' . tsdk_utmify( 'https://themeisle.com/themes/neve/upgrade/', 'elementorwidgetsdrag', 'orbitfox' ) . '\',\'_blank\'); }); }, 1000 ); }); ' ); } /** * Load required styles in admin. */ public function enqueue_editor_styles() { wp_add_inline_style( 'elementor-editor', ' #elementor-panel-category-obfx-elementor-widgets-pro .elementor-element-wrapper { position:relative; } #elementor-panel-category-obfx-elementor-widgets-pro .elementor-element { cursor: pointer; } #elementor-panel-category-obfx-elementor-widgets-pro .elementor-element-wrapper:before{ content: \'\e96f\'; position: absolute; top: 5px; right: 5px; color: #64666A; font-family: eicons; z-index: 1; } ' ); } /** * Method that returns an array of scripts and styles to be loaded * for the front end part. * * @since 1.0.0 * @access public * @return array */ public function public_enqueue() { return array(); } /** * Method that returns an array of scripts and styles to be loaded * for the admin part. * * @since 1.0.0 * @access public * @return array */ public function admin_enqueue() { return array(); } /** * Method to define the options fields for the module * * @since 1.0.0 * @access public * @return array */ public function options() { $options = array(); return $options; } /** * If the content-forms library is available we should make the forms available for elementor */ public function load_content_forms() { if ( ! class_exists( '\ThemeIsle\ContentForms\Form_Manager' ) ) { return false; } $content_forms = new Form_Manager(); $content_forms->instance(); return true; } /** * Call the ElementorExtraWidgets Library which will register its own actions. */ public function load_elementor_extra_widgets() { if ( class_exists( '\ThemeIsle\ElementorExtraWidgets' ) ) { \ThemeIsle\ElementorExtraWidgets::instance(); } } } 1.0UK Muppetshttps://ukmuppets.co.ukKarl Davieshttps://ukmuppets.co.uk/index.php/author/karl-davies/NorthernMonkey: Missing Since 7th July 2014 - UK Muppetsrich600338<blockquote class="wp-embedded-content" data-secret="ATVEm82bPC"><a href="https://ukmuppets.co.uk/index.php/2014/07/northernmonkey-missing-since-7th-july-2014/">NorthernMonkey: Missing Since 7th July 2014</a></blockquote><iframe sandbox="allow-scripts" security="restricted" src="https://ukmuppets.co.uk/index.php/2014/07/northernmonkey-missing-since-7th-july-2014/embed/#?secret=ATVEm82bPC" width="600" height="338" title="“NorthernMonkey: Missing Since 7th July 2014” — UK Muppets" data-secret="ATVEm82bPC" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" class="wp-embedded-content"></iframe><script type="text/javascript"> /* <![CDATA[ */ /*! This file is auto-generated */ !function(d,l){"use strict";l.querySelector&&d.addEventListener&&"undefined"!=typeof URL&&(d.wp=d.wp||{},d.wp.receiveEmbedMessage||(d.wp.receiveEmbedMessage=function(e){var t=e.data;if((t||t.secret||t.message||t.value)&&!/[^a-zA-Z0-9]/.test(t.secret)){for(var s,r,n,a=l.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),o=l.querySelectorAll('blockquote[data-secret="'+t.secret+'"]'),c=new RegExp("^https?:$","i"),i=0;i<o.length;i++)o[i].style.display="none";for(i=0;i<a.length;i++)s=a[i],e.source===s.contentWindow&&(s.removeAttribute("style"),"height"===t.message?(1e3<(r=parseInt(t.value,10))?r=1e3:~~r<200&&(r=200),s.height=r):"link"===t.message&&(r=new URL(s.getAttribute("src")),n=new URL(t.value),c.test(n.protocol))&&n.host===r.host&&l.activeElement===s&&(d.top.location.href=t.value))}},d.addEventListener("message",d.wp.receiveEmbedMessage,!1),l.addEventListener("DOMContentLoaded",function(){for(var e,t,s=l.querySelectorAll("iframe.wp-embedded-content"),r=0;r<s.length;r++)(t=(e=s[r]).getAttribute("data-secret"))||(t=Math.random().toString(36).substring(2,12),e.src+="#?secret="+t,e.setAttribute("data-secret",t)),e.contentWindow.postMessage({message:"ready",secret:t},"*")},!1)))}(window,document); /* ]]> */ </script> https://ukmuppets.co.uk/wp-content/uploads/2014/07/Dicky-abandons-ivlog.png1120754Ever since YouTube rejected his 2nd attempt at crying and begging for the singing video to be taken down, it seems he’s done a runner. I haven’t seen him around Vaughn anywhere, or Just-Cast. I even checked over at Ivlog, where he still pays for his channel and even they haven’t seen him for a…