public setPermalinkStructureAndFlush ( string $permalinkStructure = '/%postname%/', boolean $hardFlush = true ) | ||
$permalinkStructure | string | The new permalink structure; if empty then the `permalink_structure` option will be removed. |
$hardFlush | boolean | Whether the rewrite rules should be written to the .htaccess file or not. |