MO::is_entry_good_for_export() WordPress Method
The MO::is_entry_good_for_export() method is used to check if an entry is good for export. This is useful when you want to ensure that only certain data is exported.
MO::is_entry_good_for_export( Translation_Entry $entry ) #
Contents
Parameters
- $entry
(Translation_Entry)(Required)
Return
(bool)
Source
File: wp-includes/pomo/mo.php
public function is_entry_good_for_export( $entry ) { if ( empty( $entry->translations ) ) { return false; } if ( ! array_filter( $entry->translations ) ) { return false; } return true; }
Expand full source codeCollapse full source codeView on TracView on GitHub