projects as $name => $project ) { $results[ $name ] = $makepot->generate_pot( $name ); } } // Load WooCommerce POT-files info $pot_files = array(); foreach( $makepot->projects as $name => $project ) { $pot_files[ $name ] = array( 'file' => $project['file'], 'file_exists' => file_exists( $project['file'] ), 'is_readable' => is_readable( $project['file'] ), 'is_writable' => is_writable( $project['file'] ), 'filemtime' => ( is_readable( $project['file'] ) ) ? filemtime( $project['file'] ) : false, 'filesize' => ( is_readable( $project['file'] ) ) ? filesize( $project['file'] ) : false, ); } ?>
This tool will (re)generate and overwrite the following WooCommerce POT-files: