ascvh@#%(^-^)V ?host,ip,port,protocol,title,domain,country,city,link,org ???à JFIF x x ?? C ?? C ?à " ?? ?? μ } !1AQa "q2?‘?#B±áR?e$3br? %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz??…???‰?’“”?–—???¢£¤¥|§¨?a23′μ?·?1o??????èéêòó???×?ùúáa?????èéê?òó???÷?ùú?? ?? μ w !1AQ aq"2?B‘?±á #3Rebr?{
File "no-category-base.php"
Full Path: /home/zcziejy/ryadselyen/plugins/polylang/integrations/no-category-base/no-category-base.php
File size: 714 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* @package Polylang
*/
/**
* Manages the compatibility with No Category Base.
* Works for Yoast SEO too.
*
* @since 2.8
*/
class PLL_No_Category_Base {
/**
* Setups actions.
*
* @since 2.8
*/
public function init() {
add_filter( 'get_terms_args', array( $this, 'no_category_base_get_terms_args' ), 5 ); // Before adding our cache domain.
}
/**
* Make sure No category base plugins get all the categories when flushing rules.
*
* @since 2.1
*
* @param array $args WP_Term_Query arguments.
* @return array
*/
public function no_category_base_get_terms_args( $args ) {
if ( doing_filter( 'category_rewrite_rules' ) ) {
$args['lang'] = '';
}
return $args;
}
}