WP_Post_Type::register_meta_boxes()

In this article

Registers the post type meta box if a custom callback was specified.

Source

	if ( $this->rewrite['pages'] ) {
		add_rewrite_rule( "{$archive_slug}/{$wp_rewrite->pagination_base}/([0-9]{1,})/?$", "index.php?post_type=$this->name" . '&paged=$matches[1]', 'top' );
	}
}

Changelog

VersionDescription
4.6.0Introduced.

User Contributed Notes

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