You appear to be a bot. Output may be restricted
Description
Display a current DIY shortcode
Usage
_diy_oik_shortcode_row( $code, $content, $inactive, $expand, $help );
Parameters
- $code
- ( string ) required – the shortcode
- $content
- ( string ) required – the shortcode content
- $inactive
- ( bool ) required – whether or not the shortcode is inactive
- $expand
- ( bool ) required – whether or not the shortcode expands in titles
- $help
- ( string ) required – one line help for the shortcode
Returns
voidSource
File name: diy-oik/admin/diy-oik.phpLines:
1 to 15 of 15
function _diy_oik_shortcode_row( $code, $content, $inactive, $expand, $help ) { $row = array(); $row[] = $code; $row[] = esc_html( stripslashes( $help ) ); $row[] = esc_html( stripslashes( $content ) ); //iarea( $code, 100, $content, 10 ); $row[] = icheckbox( "inactive[$code]", $inactive, true ); $row[] = icheckbox( "expand[$code]", $expand, true ); $links = retlink( null, admin_url("admin.php?page=diy_oik&preview_code=$code"), "Preview" ); $links .= " "; $links .= retlink( null, admin_url("admin.php?page=diy_oik&delete_code=$code"), "Delete" ); $links .= " "; $links .= retlink( null, admin_url("admin.php?page=diy_oik&edit_code=$code"), "Edit" ); $row[] = $links; bw_tablerow( $row ); }