Tribe__Events__Aggregator__Tabs__Scheduled::action_screen_options( $screen )

Adds Screen Options for This Tab

Contents


Return

(void)


Top ↑

Source

File: src/Tribe/Aggregator/Tabs/Scheduled.php

	public function action_screen_options( $screen ) {
		if ( ! $this->is_active() ) {
			return;
		}

		$record_screen = WP_Screen::get( Tribe__Events__Aggregator__Records::$post_type );

		$args = array(
			'label'   => esc_html__( 'Records per page', 'the-events-calendar' ),
			'default' => 10,
			'option'  => 'tribe_records_scheduled_per_page',
		);

		$record_screen->add_option( 'per_page', $args );
		$screen->add_option( 'per_page', $args );
	}