You appear to be a bot. Output may be restricted
Description
Set a permalink structure.
Hooked as a callback to the 'populate_options' action, we use this function to set a permalink structure during `wp_install()`, so that WP doesn't attempt to do a time-consuming remote request.
Usage
_set_default_permalink_structure_for_tests();
Parameters
Returns
void
Source
File name: wordpress-develop-tests/phpunit/includes/functions.php
Lines:
1 to 3 of 3
function _set_default_permalink_structure_for_tests() { update_option( 'permalink_structure', '/%year%/%monthnum%/%day%/%postname%/' ); }