original_string: public function update_rules() {
  		$post_types = CPTP_Util::get_post_types();
  		foreach ( $post_types as $post_type ) {
  			add_action( 'update_option_' . $post_type . '_structure', array( __CLASS__, 'queue_flush_rules' ), 10, 2 );
  		}
  		add_action( 'update_option_no_taxonomy_structure', array( __CLASS__, 'queue_flush_rules' ), 10, 2 );
  	}
code: public function update_rules() {
  		$post_types = CPTP_Util::get_post_types();
  		foreach ( $post_types as $post_type ) {
  			add_action( 'update_option_' . $post_type . '_structure', array( __CLASS__, 'queue_flush_rules' ), 10, 2 );
  		}
  		add_action( 'update_option_no_taxonomy_structure', array( __CLASS__, 'queue_flush_rules' ), 10, 2 );
  	}
code_tokens: public function update_rules ( ) { $ post_types = CPTP_Util :: get_post_types ( ) ; foreach ( $ post_types as $ post_type ) { add_action ( 'update_option_' . $ post_type . '_structure' , array ( __CLASS__ , 'queue_flush_rules' ) , 10 , 2 ) ; } add_action ( 'update_option_no_taxonomy_structure' , array ( __CLASS__ , 'queue_flush_rules' ) , 10 , 2 ) ; }
docstring: Add hook flush_rules
  
  @since 0.7.9
docstring_tokens: Add hook flush_rules