wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



get_shortcode_atts_regex › WordPress Function

Da4.4.0
Deprecaton/a
get_shortcode_atts_regex ( Nessun parametro )
Ritorna:
  • (string) The shortcode attribute regular expression.
Definito a:
Codex:

Retrieves the shortcode attributes regex.



Sorgenti

function get_shortcode_atts_regex() {
	return '/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*\'([^\']*)\'(?:\s|$)|([\w-]+)\s*=\s*([^\s\'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|\'([^\']*)\'(?:\s|$)|(\S+)(?:\s|$)/';
}