Skip to content

Commit

Permalink
fix #55 added font and font size
Browse files Browse the repository at this point in the history
  • Loading branch information
cabelotaina committed Dec 28, 2016
1 parent 684c7d1 commit 4b7057f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions jaiminho.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,17 @@ public function Init()
add_action( 'init', array( $this, 'frame_it_up' ), 20 );
add_action('admin_enqueue_scripts', array( $this, 'load_admin_script') );
add_action( 'admin_action_export', array($this,'export_report') );
add_filter( 'mce_buttons_2', array($this,'mce_buttons') );
}

function mce_buttons( $buttons ) {
array_unshift( $buttons, 'fontselect' );
array_unshift( $buttons, 'fontsizeselect' );
return $buttons;
}



function export_report(){
$args = array(
'post_type' => 'sp_report' ,
Expand Down

0 comments on commit 4b7057f

Please sign in to comment.