Moved created template to  wp action