inactive_content = $inactive_content; parent::__construct( $paths ); } public function render() { $model = array( 'content' => $this->inactive_content, 'strings' => array( 'title' => __( "There is content in the following languages but it won't be visible on the site because those languages are not activated.", 'sitepress' ), 'language' => __( 'Language', 'sitepress' ), 'total' => __( 'Total', 'sitepress' ), ), ); return $this->get_template()->show( $model, self::TEMPLATE ); } }