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
voidSource
File name: oik-batch/tests/functions.phpLines:
1 to 5 of 5
function _set_default_permalink_structure_for_tests() { bw_backtrace(); gob(); //update_option( 'permalink_structure', '/%year%/%monthnum%/%day%/%postname%/' ); }View on GitHub