AnsPress_Hooks::flush_rules()

Description #

Check if flushing rewrite rule is needed

Source #

File: includes/hooks.php

	public static function flush_rules() {
		if ( ap_opt( 'ap_flush' ) != 'false' ) {
			flush_rewrite_rules( true );
			ap_opt( 'ap_flush', 'false' );
		}
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment