/** * This function is executed once after theme activation. * * @since 0.1.0 */ public function after_theme_activated() { /* Flush permalinks only ONCE after theme activation and custom taxonomies registered (these will have been registered before this function executes). */ PC_Utility::flush_permalink_rules(); }