Sindbad~EG File Manager

Current Path : /home/nicedoo/www/wp-content/migrator_database/
Upload File :
Current File : /home/nicedoo/www/wp-content/migrator_database/1734041921370_webtoffee_db_table_snippets_1.sql


DROP TABLE IF EXISTS `webtoffee_snippets` ;/*END*/ 

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";/*END*/
SET time_zone = "+00:00";/*END*/


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;/*END*/
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;/*END*/
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;/*END*/
/*!40101 SET NAMES utf8 */;/*END*/
--
-- Database: `nicedooadminnice`
--




CREATE TABLE `webtoffee_snippets` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `name` tinytext COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `code` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `tags` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `scope` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'global',
  `priority` smallint NOT NULL DEFAULT '10',
  `active` tinyint(1) NOT NULL DEFAULT '0',
  `modified` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `scope` (`scope`),
  KEY `active` (`active`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;/*END*/


INSERT INTO `webtoffee_snippets` VALUES
("1","Make upload filenames lowercase","Makes sure that image and file uploads have lowercase filenames.

This is a sample snippet. Feel free to use it, edit it, or remove it.","add_filter( \'sanitize_file_name\', \'mb_strtolower\' );","sample, media","global","10","0","2023-04-18 13:56:38");/*END*/
INSERT INTO `webtoffee_snippets` VALUES
("2","Disable admin bar","Turns off the WordPress admin bar for everyone except administrators.

This is a sample snippet. Feel free to use it, edit it, or remove it.","add_action( \'wp\', function () {
	if ( ! current_user_can( \'manage_options\' ) ) {
		show_admin_bar( false );
	}
} );","sample, admin-bar","front-end","10","0","2023-04-18 13:56:38");/*END*/
INSERT INTO `webtoffee_snippets` VALUES
("3","Allow smilies","Allows smiley conversion in obscure places.

This is a sample snippet. Feel free to use it, edit it, or remove it.","add_filter( \'widget_text\', \'convert_smilies\' );
add_filter( \'the_title\', \'convert_smilies\' );
add_filter( \'wp_title\', \'convert_smilies\' );
add_filter( \'get_bloginfo\', \'convert_smilies\' );","sample","global","10","0","2023-04-18 13:56:38");/*END*/
INSERT INTO `webtoffee_snippets` VALUES
("4","Current year","Shortcode for inserting the current year into a post or page..

This is a sample snippet. Feel free to use it, edit it, or remove it.","<?php echo date( \'Y\' ); ?>","sample, dates","content","10","0","2023-04-18 13:56:38");/*END*/

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists