• Hi,

    What would make the createDirectionUrl() undefined? isn’t it a plugin function?

    if ( !$wpsl_settings['hide_distance'] ) {
        $listing_template .= "\t\t\t" . '<%= distance %> ' . esc_html( $wpsl_settings['distance_unit'] ) . ' | <%= createDirectionUrl() %>' . "\r\n";
    }
Viewing 1 replies (of 1 total)
  • Hi there, thanks for writing.

    That code snippet works fine for us in our test server inside of a well formed wpsl_listing_template filter.

    Please let us know the full contents of your wpsl_listing_template filter so we can try to spot anything wrong.

    Best regards,

Viewing 1 replies (of 1 total)

The topic ‘Uncaught Error: Call to undefined function createDirectionUrl()’ is closed to new replies.