MO::is_entry_good_for_export( Translation_Entry $entry ): bool

In this article

Parameters

$entryTranslation_Entryrequired

Return

bool

Source

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

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

	return true;
}

User Contributed Notes

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