Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

morrison

// Register Custom Status
function jimmorrison() {

	$args = array(
		'label'                     => _x( 'draft', 'Status General Name', 'text_domain' ),
		'label_count'               => _n_noop( 'Draft (%s)',  'Drafts (%s)', 'text_domain' ), 
		'public'                    => true,
		'show_in_admin_all_list'    => true,
		'show_in_admin_status_list' => true,
		'exclude_from_search'       => false,
	);
	register_post_status( 'draft', $args );

}

// Hook into the 'init' action
add_action( 'init', 'jimmorrison', 0 );


Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

morrison

// Register Custom Status
function jimmorrison() {

	$args = array(
		'label'                     => _x( 'draft', 'Status General Name', 'text_domain' ),
		'label_count'               => _n_noop( 'Draft (%s)',  'Drafts (%s)', 'text_domain' ), 
		'public'                    => true,
		'show_in_admin_all_list'    => true,
		'show_in_admin_status_list' => true,
		'exclude_from_search'       => false,
	);
	register_post_status( 'draft', $args );

}

// Hook into the 'init' action
add_action( 'init', 'jimmorrison', 0 );


Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

easy

// Add Toolbar Menus
function jack() {
	global $wp_admin_bar;

}

// Hook into the 'wp_before_admin_bar_render' action
add_action( 'wp_before_admin_bar_render', 'jack', 999 );


Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

ssdsds

<?php
/**
 * Custom WordPress configurations on "wp-config.php" file.
 *
 * This file has the following configurations: MySQL settings, Table Prefix, Secret Keys, WordPress Language, ABSPATH and more.
 * For more information visit {@link http://codex.wordpress.org/Editing_wp-config.php Editing wp-config.php} Codex page.
 * Created using {@link https://generatewp.com-config/ wp-config.php File Generator} on GenerateWP.com.
 *
 * @package WordPress
 * @generator GenerateWP.com
 */


/* MySQL settings */
define( 'DB_NAME',     'sss' );
define( 'DB_USER',     'username_here' );
define( 'DB_PASSWORD', 'password_here' );
define( 'DB_HOST',     'localhost' );
define( 'DB_CHARSET',  'utf8' );


/* MySQL database table prefix. */
$table_prefix = 'wp_';


/* Authentication Unique Keys and Salts. */
/* https://api.wordpress.org/secret-key/1.1/salt/ */
define( 'AUTH_KEY',         'put your unique phrase here' );
define( 'SECURE_AUTH_KEY',  'put your unique phrase here' );
define( 'LOGGED_IN_KEY',    'put your unique phrase here' );
define( 'NONCE_KEY',        'put your unique phrase here' );
define( 'AUTH_SALT',        'put your unique phrase here' );
define( 'SECURE_AUTH_SALT', 'put your unique phrase here' );
define( 'LOGGED_IN_SALT',   'put your unique phrase here' );
define( 'NONCE_SALT',       'put your unique phrase here' );


/* WordPress Localized Language. */
define( 'WPLANG', '' );


/* Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
	define('ABSPATH', dirname(__FILE__) . '/');

/* Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');