PO::is_final() WordPress Method

This function checks if a PO file is final.

PO::is_final( string $context ) #

Helper function for read_entry


Parameters

$context

(string)(Required)


Top ↑

Return

(bool)


Top ↑

Source

File: wp-includes/pomo/po.php

		protected static function is_final( $context ) {
			return ( 'msgstr' === $context ) || ( 'msgstr_plural' === $context );
		}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.