first commit

This commit is contained in:
2023-09-12 21:41:04 +02:00
commit 3361a7f053
13284 changed files with 2116755 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?php
class WPML_Admin_URL {
public static function multilingual_setup( $section = null ) {
if ( defined( 'WPML_TM_VERSION' ) ) {
$url = admin_url( 'admin.php?page=' . WPML_TM_FOLDER . WPML_Translation_Management::PAGE_SLUG_SETTINGS . '&sm=mcsetup' );
} else {
$url = admin_url( 'admin.php?page=' . ICL_PLUGIN_FOLDER . '/menu/translation-options.php' );
}
if ( $section ) {
$url .= '#ml-content-setup-sec-' . $section;
}
return $url;
}
}