PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
sitepress-multilingual-cms
/
inc
<?php if ( ! function_exists( 'object_to_array' ) ) { function object_to_array( $obj ) { return json_decode( json_encode( $obj ), true ); } } if ( ! function_exists( 'wpml_get_admin_url' ) ) { /** * A more helpful version of `admin_url` * Is not called it `wpml_admin_url` because there is already a class with the same name * * @param array $args * * @return string */ function wpml_get_admin_url( array $args = array() ) { if ( ! $args ) { return admin_url(); } $default_args = array( 'path' => '', 'scheme' => 'admin', 'query' => array(), ); $args = array_merge( $default_args, $args ); $admin_url = ''; if ( $args['path'] || $args['scheme'] ) { $admin_url = admin_url( $args['path'], $args['scheme'] ); } if ( $args['query'] ) { $admin_url_parsed = wp_parse_url( $admin_url ); if ( is_string( $args['query'] ) ) { $admin_url_parsed['query'] = $args['query']; } elseif ( is_array( $args['query'] ) ) { $admin_url_parsed['query'] = http_build_query( $args['query'] ); } $admin_url = http_build_url( $admin_url_parsed ); } return $admin_url; } }
[-] constants.php
[edit]
[-] functions-helpers.php
[edit]
[-] functions-load.php
[edit]
[-] plugins-integration.php
[edit]
[-] functions-sanitation.php
[edit]
[-] lang-data.php
[edit]
[-] template-functions.php
[edit]
[-] import-xml.php
[edit]
[+]
utilities
[+]
absolute-links
[-] ajax.php
[edit]
[-] wpml-post-edit-ajax.class.php
[edit]
[-] functions-troubleshooting.php
[edit]
[-] hacks.php
[edit]
[-] functions-network.php
[edit]
[-] functions-security.php
[edit]
[-] cache.php
[edit]
[+]
tools
[-] wpml-private-actions.php
[edit]
[-] functions.php
[edit]
[+]
translation-jobs
[+]
hacks
[+]
wpml-config
[-] wpml-api.php
[edit]
[+]
local-translation
[-] wpml-private-filters.php
[edit]
[+]
translation-proxy
[-] wpml-private-actions-tm.php
[edit]
[+]
taxonomy-term-translation
[+]
setup
[-] wpml_zip.php
[edit]
[-] language-switcher.php
[edit]
[-] wpml-post-comments.class.php
[edit]
[+]
url-handling
[-] functions-load-tm.php
[edit]
[-] plugin-integration-nextgen.php
[edit]
[-] js-scripts.php
[edit]
[+]
query-filtering
[-] constants-tm.php
[edit]
[+]
translation-management
[-] js-tm-scripts.php
[edit]
[-] upgrade.php
[edit]
[+]
upgrade-functions
[+]
..
[-] icl-admin-notifier.php
[edit]
[-] not-compatible-plugins.php
[edit]
[-] deprecated-hooks.php
[edit]
[+]
actions
[-] functions-debug-information.php
[edit]
[+]
core
[+]
wp-nav-menus
[+]
post-translation
[-] wpml_load_request_handler.php
[edit]