MO::is_entry_good_for_export()publicWP 1.0

Method of the class: MO{}

No Hooks.

Return

true|false.

Usage

$MO = new MO();
$MO->is_entry_good_for_export( $entry );
$entry(Translation_Entry) (required)
-

MO::is_entry_good_for_export() code WP 6.1.1

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

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

	return true;
}