tribe_register_view( string $slug, string $name, string $class, int $priority = 50 )

Registers a view.


Parameters #

$slug

(string) (Required) View slug.

$name

(string) (Required) View name.

$class

(string) (Required) View class.

$priority

(int) (Optional) View registration priority.

Default value: 50


Top ↑

Source #

File: src/functions/views/provider.php

function tribe_register_view( $slug, $name, $class, $priority = 50 ) {
	return tribe( Manager::class )->register_view( $slug, $name, $class, $priority );
}

Top ↑

Changelog #

Changelog
Version Description
5.7.0 Introduced.