apply_filters( 'learndash_flush_rewrite_rules', boolean $should_flush , array $post_options )
Filters whether to flush the rewrite rules.
Description Description
Parameters Parameters
- $should_flush
-
Whether to flush rewrite rules. The value should be true if the rules should be flushed otherwise false.
- $post_options
-
Array of post options.
Source Source
File: includes/class-ld-cpt.php
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |