Set blog defaults.This function creates a row in the wp_blogs table.
2025
Continue readingInstall an empty blog.Creates the new blog tables and options. If calling this function directly, be sure to use switch_to_blog() first, so that $wpdb points to the new blog.
2023
Continue readingStore basic site info in the blogs table.This function creates a row in the wp_blogs table and returns the new blog’s ID. It is the first step in creating a new blog.
2019
Continue readingDetermines the difference between two timestamps.The difference is returned in a human readable format such as “1 hour”, “5 mins”, “2 days”.
1959
Continue reading