SSamTure.net

워드프레스

WPMU Functions/update site option

구문

function update_site_option ( $key, $value )

설명

wp_sitemeta에 추가되어 있는 값을 수정하고자 할 때 사용하는 함수.

파라미터들

$key  (string) (required) 업데이트할 옵션의 name

Default: None
$value  (string) (required) 이 옵션의 value. 최대 2^32 을 넘을 수 없음
Default: None

리턴 값

Null.

예제

<?php update_site_option( 'bp-xprofile-base-group-name', 'Base' ); ?>

원문 : 워드프레스 개발자 모임

작성 : 임민형(http://kr.blog.qrobo.com)

1 Comment

  1. yongkani
    2009/10/09 at 01:00 · Reply

    토익점수 제한이 있으니… 토익 없으시면 마이너스 점수 있을거 같네여.

Leave a Reply

Your email address will not be published. Required fields are marked *