Wordpress - Add HR button to Wordpress editor


/ Published in: PHP
Save to your folder(s)

Add this to your functions file


Copy this code and paste it in your HTML
  1. //Add hr button to Wordpress Editor
  2. function enable_more_buttons($buttons) {
  3. $buttons[] = 'hr';
  4. return $buttons;
  5. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.