Files
wordpress-preseed/wp-content/plugins/all-in-one-event-calendar/lib/rewrite/helper.php
Adrian Nöthlich 290736650a Add upstream plugins
Signed-off-by: Adrian Nöthlich <git@promasu.tech>
2019-10-25 22:42:20 +02:00

22 lines
521 B
PHP

<?php
/**
* Rewrite helper class.
*
* @author Time.ly Network Inc.
* @since 2.0
*
* @package AI1EC
* @subpackage AI1EC.Rewrite
*/
class Ai1ec_Rewrite_Helper {
/**
* Remove rewrite rules and then recreate rewrite rules.
*
* @param bool $hard Whether to update .htaccess (hard flush) or just update
* rewrite_rules transient (soft flush). Default is true (hard).
*/
public function flush_rewrite_rules( $hard = true ) {
flush_rewrite_rules( $hard );
}
}