WordPress.org

Ready to get started?Download WordPress

Forums

Twitter Widget Pro
preg_repleace hashtags (1 post)

  1. permanyer
    Member
    Posted 1 year ago #

    in function

    public function linkHashtags( $text ) {
    		$text = preg_replace_callback('/(^|\s)(#[\w\x{00C0}-\x{00D6}\x{00D8}-\x{00F6}\x{00F8}-\x{00FF}]*)/i', array($this, '_linkHashtagsCallback'), $text);
    		return $text;
    	}

    regex does not support latin chars such as áàéèíïóòúüçñ and their uppercase.
    i don't know any regex, so if anyone could help, would much appreciate!
    txs.

    http://wordpress.org/extend/plugins/twitter-widget-pro/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic