__( 'Untitled', 'aus' ), )); }else{ /* CSS for metaboxes. */ wp_enqueue_style( 'uebns_admin_styles', plugins_url('../assets/css/editor-admin.css', __FILE__)); } } /** * Update Version Number * * @return void */ function uebns_activation(){ $old_setting_value = get_option( 'uebns_settings_social' ); // <= 0.0.2 to 0.0.3 if( is_array( $old_setting_value ) && !empty( $old_setting_value ) && !isset( $old_setting_value['- Another link -'] )){ $old_setting_value['- Another link -'] = 'fas fa-link'; } update_option('uebns_settings_social', $old_setting_value); update_option('uebns_plugin_version', UEBNS_VERSION); } // Display any errors function uebns_admin_notice_handler() { $errors = get_option('my_admin_errors'); if($errors) { echo '
' . $errors . '