~
Advanced Hosters -

adamant
V.I.P.
: 20.03.2008
: 11504
# : 03, 2008 7:13 pm
.
EvaPharmacy. , ! Jabber: [email protected] ICQ: 750000
Unlimited on 1Gbs port |

ctapbiu
: 06.01.2008
: 328
# : 04, 2008 8:48 am

, , /wp-content/themes/%theme-name%/functions.php :

:

add_action('wp_insert_post', 'default_tags');
function default_tags($id) {
  $tags = array(
    'tag1',
    'tag2',
    'tag3',
  );

  wp_set_post_tags($id, $tags);
  return $id;
}



adamant
V.I.P.
: 20.03.2008
: 11504
# : 05, 2008 12:52 am
ctapbiu, , . +5
EvaPharmacy. , ! Jabber: [email protected] ICQ: 750000
Unlimited on 1Gbs port |
    ~