WP_Rewrite::remove_permastruct( string $name )

Removes a permalink structure.


Parameters

$name string Required
Name for permalink structure.

Top ↑

Source

File: wp-includes/class-wp-rewrite.php. View all references

public function remove_permastruct( $name ) {
	unset( $this->extra_permastructs[ $name ] );
}


Top ↑

Changelog

Changelog
Version Description
4.5.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.