Description
Get the URL structure for the notes pageIf there is a defined notes_page this value should become the default on the bw_array_get() NOT the 'n' we're now setting it to. So we need to reset that logic AND provide the admin page ? we'll leave this for oik-bob-bing-wide v2 Herb 2012/11/08
Usage
$$link = bw_get_notes_page_url( $link );Parameters
- $link
- ( string ) required – can be "true" or "false" or an URL
Returns
$link link to the notes page or nullSource
File name: oik-bob-bing-wide/shortcodes/oik-plug.phpLines:
1 to 16 of 16
function bw_get_notes_page_url( $link ) { $torf = bw_validate_torf( $link ); if ( $torf ) { $link = bw_get_option( "notes_page", "bw_bobbingwide" ); // **?** Not yet implemented if ( !$link ) { $link = "https://www.bobbingwidewebdesign.com/plugins"; // For some backward compatibility } } else { // It's false so it could have been an URL if ( false === strpos( $link, "http" ) ) { $link = null; } } bw_trace2( $link, "link", false ); return( $link ); }View on GitHub
Invoked by
Calls
1 to 2 of 2
Call hooks
API Letters:
