Parses a directory of PHP files and then prints a generated PHP file containing a collection of all calls to __(), _e(), esc_html__, esc_html_e, esc_attr__ and esc_attr_e() to stdout.
wp-i18n-export <plugin-slug> <source-directory>Example:
wp-i18n-export koko-analytics wp-content/plugins/koko-analytics/src > strings.php