---
layout: doc
title: contrib / query_replaced_program.pre
---
# query_replaced_program

### NAME

    query_replaced_program

### SYNOPSIS

    string query_replaced_program(void | object);

### DESCRIPTION

    obiect defaults to this_object()

    if object called replace_program this function returns the path to the object
    it was replaced with
