daily pastebin goal
94%
SHARE
TWEET

Ukrywanie pól edycji WordPress

a guest Jun 12th, 2015 5 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. // Proszę wstawić taki kod do pliku functions.php szablonu
  3.  
  4. function remove_edit_fields() {
  5.          remove_post_type_support('post', 'title');
  6.          remove_post_type_support('post', 'editor');
  7. }
  8.  
  9. add_action('admin_init', 'remove_edit_fields);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top