Function Reference: add_list_page_template

Summary

This function has not been documented yet.

Source File

add_list_page_template() is located in geodir_list_manager/geodir_list_manager.php [Line: 163]

Source Code

function add_list_page_template( $template ) {

    $list_page_id = get_option('geodir_add_list_page');
    if ( is_page( $list_page_id )  ) {
        $template = locate_template( array( 'geodirectory/add-list.php' ) );
        if (!$template) $template = gd_list_plugin_path() . '/geodirectory-templates/add-list.php';
        return $template = apply_filters('geodir_template_add_list', $template);
    }
    return $template;
}