__('Insert/edit link','awl'), 'update' => __('Update','awl'), 'save' => __('Add Link','awl'), 'noTitle' => __('(no title)','awl'), 'linktitle' => __('Link-Title','awl'), 'linktitle_desc' => __('The html title attribute (optional)','awl'), 'noMatchesFound' =>__('No matches found.','awl') )); } public function inlinelink_pre_45($plugins){ if($this->inline_is_disabled()){ $plugins['wplinkpre45'] = awl_dir.'/assets/js/wplinkpre45.min.js'; } return $plugins; } public function inline_is_disabled(){ $vtlawl_options = get_option('nm-awl_options'); if($vtlawl_options['inline_link']=='enabled'){ return false; } return true; } } new Editor();