Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function my_hashlink_check($status = true, $link = null, $regs = array()) {
- if (!empty($link)) {
- if (strstr($regs[0][$rkey], 'notrack') == false) {
- $status = false;
- }
- }
- return $status;
- }
- add_filter('wpml_hashlink_loop', 'my_hashlink_check', 10, 3);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement