Remove has_action item from $page array