funcoes do wp