Skip to content

Instantly share code, notes, and snippets.

@jester1979
Last active August 29, 2015 14:14
Show Gist options
  • Select an option

  • Save jester1979/f162b9c955f8a5b83d93 to your computer and use it in GitHub Desktop.

Select an option

Save jester1979/f162b9c955f8a5b83d93 to your computer and use it in GitHub Desktop.
Custom WordPress installation
if ( !function_exists('wp_install_defaults') ) :
/**
* {@internal Missing Short Description}}
*
* {@internal Missing Long Description}}
*
* @since 2.1.0
*
* @param int $user_id User ID.
*/
function wp_install_defaults( $user_id ) {
global $wpdb, $wp_rewrite, $table_prefix;
// Default category
$cat_name = __('Nieuws');
/* translators: Default category slug */
$cat_slug = sanitize_title(_x('Nieuws', 'Default category slug'));
}
endif;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment