/home/techb158/l2hypotheques.com/wp-content/plugins/polylang/src/Options/Business
Edit: /home/techb158/l2hypotheques.com/wp-content/plugins/polylang/src/Options/Business/Rewrite.php (1918B)
get() ) {
$value = '1: ' . sprintf(
/* translators: %s is a URL slug: `/language/`. */
__( 'Remove %s in pretty permalinks', 'polylang' ),
'`/language/`'
);
} else {
$value = '0: ' . sprintf(
/* translators: %s is a URL slug: `/language/`. */
__( 'Keep %s in pretty permalinks', 'polylang' ),
'`/language/`'
);
}
return $this->format_single_value_for_site_health_info( $value );
}
/**
* Returns the default value.
*
* @since 3.7
*
* @return bool
*/
protected function get_default() {
return true;
}
/**
* Returns the description used in the JSON schema.
*
* @since 3.7
*
* @return string
*/
protected function get_description(): string {
return sprintf(
/* translators: %1$s is a URL slug: `/language/`. %2$s and %3$s are "true/false" values. */
__( 'Remove %1$s in pretty permalinks: %2$s to remove, %3$s to keep.', 'polylang' ),
'`/language/`',
'`true`',
'`false`'
);
}
}