I want to include custom_search.php
when there is $_GET['my_s']
.
As you know, if we type on a search field, WordPress core includes search.php
file because WP Core get $_GET['s'] as query var.
How wordpress do like this? If possible, I want to see the code lines.