__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
function blocksy_get_terms($get_terms_args, $args = []) {
$args = wp_parse_args($args, [
'all_languages' => false
]);
if (! $args['all_languages']) {
return get_terms($get_terms_args);
}
global $sitepress;
if (function_exists('PLL')) {
remove_filter(
'terms_clauses',
[PLL()->terms, 'terms_clauses'],
10, 3
);
}
if ($sitepress) {
remove_filter('get_terms_args', array($sitepress, 'get_terms_args_filter'), 10, 2);
remove_filter('get_term', array($sitepress, 'get_term_adjust_id'), 1, 1);
remove_filter('terms_clauses', array($sitepress, 'terms_clauses'), 10, 3);
$all_terms = get_terms($get_terms_args);
add_filter('terms_clauses', array($sitepress, 'terms_clauses'), 10, 3);
add_filter('get_term', array($sitepress, 'get_term_adjust_id'), 1, 1);
add_filter('get_terms_args', array($sitepress, 'get_terms_args_filter' ), 10, 2);
} else {
$all_terms = get_terms($get_terms_args);
}
if (function_exists('PLL')) {
add_filter(
'terms_clauses',
[PLL()->terms, 'terms_clauses'],
10, 3
);
}
return $all_terms;
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| cpt.php | File | 715 B | 0640 |
|
| db.php | File | 142 B | 0640 |
|
| dynamic-css.php | File | 3.92 KB | 0640 |
|
| get-terms.php | File | 1.05 KB | 0640 |
|
| html.php | File | 2.02 KB | 0640 |
|
| layout.php | File | 299 B | 0640 |
|
| options.php | File | 4.08 KB | 0640 |
|
| search.php | File | 2.71 KB | 0640 |
|