You appear to be a bot. Output may be restricted
Description
Display external linksIf the plugin or theme is on GitHub we can create a 'View on GitHub' link
Usage
oikai_external_links( $sourcefile, $plugin_slug, $post_id, $plugin_id, $refFunc );
Parameters
- $sourcefile
- ( string ) required –
- $plugin_slug
- ( string ) required –
- $post_id
- ( ID ) required – post ID
- $plugin_id
- ( ID ) required – plugin/theme ID
- $refFunc
- ( object|null ) required –
Returns
voidTO DO
If the plugin or theme is on WordPress.org we can create a 'View on Trac' linkSource
File name: oik-shortcodes/shortcodes/oik-api-importer.phpLines:
1 to 5 of 5
function oikai_external_links( $sourcefile, $plugin_slug, $post_id, $plugin_id, $refFunc) { bw_trace2( null, null, true, BW_TRACE_VERBOSE ); oikai_link_to_github( $sourcefile, $plugin_slug, $post_id, $plugin_id, $refFunc ); oikai_link_to_trac( $sourcefile, $plugin_slug, $post_id, $plugin_id, $refFunc ); }View on GitHub