Error thrown

Call to undefined function custom_wp_link_pages()