MO::is_entry_good_for_export

Advertisement

Syntax Syntax

MO::is_entry_good_for_export( Translation_Entry $entry )

Parameters Parameters

$entry

(Translation_Entry) (Required)

Return Return

(bool)

Source Source

File: wp-includes/pomo/mo.php

		function is_entry_good_for_export( $entry ) {
			if ( empty( $entry->translations ) ) {
				return false;
			}

			if ( ! array_filter( $entry->translations ) ) {
				return false;
			}

			return true;
		}

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.