WP_Importer::cmpr_strlen
Sorts by strlen, longest string first.
Method of the class: WP_Importer{}
No Hooks.
Returns
Int.
Usage
$WP_Importer = new WP_Importer(); $WP_Importer->cmpr_strlen( $a, $b );
- $a(string) (required)
- .
- $b(string) (required)
- .
WP_Importer::cmpr_strlen() WP Importer::cmpr strlen code WP 7.0
public function cmpr_strlen( $a, $b ) {
return strlen( $b ) - strlen( $a );
}