WP_Importer::cmpr_strlen( string $a, string $b )
Sort by strlen, longest string first
Parameters
- $a
-
(string) (Required)
- $b
-
(string) (Required)
Return
(int)
Source
File: wp-admin/includes/class-wp-importer.php
public function cmpr_strlen( $a, $b ) { return strlen( $b ) - strlen( $a ); }
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_importer/cmpr_strlen