Aurangajeb

Remove WPUF Add Form button from backend

Jul 27th, 2021 (edited)
693
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_action('admin_head', 'custom_css_to_hide_wpuf_add_form_button');
  2. function custom_css_to_hide_wpuf_add_form_button() {
  3.   echo '<style>
  4.         .button.thickbox.insert-form {
  5.             display: none;
  6.         }
  7.  </style>';
  8. }
RAW Paste Data