LLMS_Admin_Post_Table_Pages::__construct()

Constructor


Return Return

(void)


Top ↑

Source Source

File: includes/admin/post-types/post-tables/class.llms.admin.post.table.pages.php

	public function __construct() {

		if ( isset( $_GET['post_type'] ) && 'page' === $_GET['post_type'] ) {

			add_action( 'init', array( $this, 'populate_pages' ) );

			add_filter( 'display_post_states', array( $this, 'post_states' ), 10, 2 );

		}
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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