oikai_highlight_source() – oikai highlight source

You appear to be a bot. Output may be restricted

Description

Simple function to syntax hilight PHP source

Possibly redundant?

Usage

oikai_highlight_source( $sources );

Parameters

$sources
( mixed ) required

Returns

void

Source

File name: oik-shortcodes/shortcodes/oik-api-importer.php
Lines:

1 to 7 of 7
function oikai_highlight_source( $sources ) {
  $content = "<?php\n";
  $content .= implode( "", $sources );
  stag( "pre" );
  e( highlight_string( $content, true ) );
  etag( "pre" );
}