Description
Display the external link warning usage notes.. with an example
Usage
oikelw_usage();Parameters
Returns
voidSource
File name: oik-external-link-warning/admin/oik-external-link-warning.phpLines:
1 to 43 of 43
function oikelw_usage() { $alert_text = oik_external_link_warning_wp_footer(); if ( $alert_text ) { p( "Type the message you want displayed when an external link is selected. " ); // p( "Leave the title blank for a simple alert box" ); p( "The text of the current message is: " ); p( $alert_text ); } else { p( "The External link warning text is currently blank so no confirmation message will be displayed. " ); p( "Note: If you don't want a message then you should consider deactivating the oik external link warning plugin." ); } p( "Test your input by clicking on the following links." ); //oik_require_lib( "oik-admin" ); $hover_selectors = bobbcomp::bw_get_option( "hover_selectors", "oik_elw_options" ); if ( $alert_text && $hover_selectors ) { oik_require_lib( "class-oik-jquery" ); //bw_jquery_enqueue_script( "jquery-ui-tooltip" ); //bw_jquery( $hover_selectors // , "tooltip" // , "{ content: '$alert_text' } " // ); $hover_selectors = str_replace( "div.", "", $hover_selectors ); $hover_selectors = str_replace( ",", " ", $hover_selectors ); } sdiv( $hover_selectors ); oikelw_documentation(); ediv(); $email_text = oik_email_link_warning_wp_footer(); if ( $email_text ) { p( "Type the message you want displayed when an email link is selected. " ); p( "The text of the current message is: " ); p( $email_text ); } else { p( "The email link warning text is currently blank so no confirmation message will be displayed. " ); } oikelw_mailto( "oikplug@oik-plugins.com" ); }View on GitHub
Called by
Invoked by
Calls
1 to 4 of 4
Call hooks
API Letters:
