<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
	<channel>
				<title><![CDATA[알려주신 코드로 수정을 하였으나 문자가 안와서 문의드립니다.]]></title>
		<link>https://www.cosmosfarm.com/threads/rss/document/25075</link>
		<description><![CDATA[<p>&lt;?php</p>

<p>    if(is_admin()) {<br />
        require_once get_template_directory() . '/admin/admin.php';<br />
        require_once(get_template_directory() . '/inc/announcement/main.php');<br />
    }</p>

<p>    define( 'STM_TEMPLATE_URI', get_template_directory_uri() );<br />
    define( 'STM_TEMPLATE_DIR', get_template_directory() );<br />
    define( 'STM_THEME_SLUG', 'stm' );<br />
    define( 'STM_INC_PATH', get_template_directory() . '/inc' );<br />
    define( 'STM_CUSTOMIZER_PATH', get_template_directory() . '/inc/customizer' );<br />
    define( 'STM_CUSTOMIZER_URI', get_template_directory_uri() . '/inc/customizer' );</p>

<p><br />
    //    Include path<br />
    $inc_path = get_template_directory() . '/inc';</p>

<p>    //    Widgets path<br />
    $widgets_path = get_template_directory() . '/inc/widgets';</p>

<p><br />
    define('motors', 'motors');</p>

<p>        // Theme setups<br />
        require_once STM_CUSTOMIZER_PATH . '/customizer.class.php';</p>

<p>        // Custom code and theme main setups<br />
        require_once( $inc_path . '/setup.php' );</p>

<p>        // Enqueue scripts and styles for theme<br />
        require_once( $inc_path . '/scripts_styles.php' );</p>

<p>        // Multiple Currency<br />
        require_once( $inc_path . '/multiple_currencies.php' );</p>

<p>        // Custom code for any outputs modifying<br />
        require_once( $inc_path . '/custom.php' );</p>

<p>        // Required plugins for theme<br />
        require_once( $inc_path . '/tgm/tgm-plugin-registration.php' );</p>

<p>        // Visual composer custom modules<br />
        if ( defined( 'WPB_VC_VERSION' ) ) {<br />
            require_once( $inc_path . '/visual_composer.php' );<br />
        }</p>

<p>        // Custom code for any outputs modifying with ajax relation<br />
        require_once( $inc_path . '/stm-ajax.php' );</p>

<p>        // Custom code for filter output<br />
        //require_once( $inc_path . '/listing-filter.php' );<br />
        require_once( $inc_path . '/user-filter.php' );</p>

<p>        //User<br />
        if(stm_is_listing()) {<br />
            require_once( $inc_path . '/user-extra.php' );<br />
        }</p>

<p>        require_once( $inc_path . '/user-vc-register.php' );</p>

<p>        require_once( $inc_path . '/stm_single_dealer.php' );</p>

<p>        // Custom code for woocommerce modifying<br />
        if( class_exists( 'WooCommerce' ) ) {<br />
            require_once( $inc_path . '/woocommerce_setups.php' );<br />
            if(stm_is_rental()) {<br />
                require_once( $inc_path . '/woocommerce_setups_rental.php' );<br />
            }<br />
        }</p>

<p>        //Widgets<br />
        require_once( $widgets_path . '/socials.php' );<br />
        require_once( $widgets_path . '/text-widget.php' );<br />
        require_once( $widgets_path . '/latest-posts.php' );<br />
        require_once( $widgets_path . '/address.php' );<br />
        require_once( $widgets_path . '/dealer_info.php' );<br />
        require_once( $widgets_path . '/car_location.php' );<br />
        require_once( $widgets_path . '/similar_cars.php' );<br />
        require_once( $widgets_path . '/car-contact-form.php' );<br />
        require_once( $widgets_path . '/contacts.php' );<br />
        require_once( $widgets_path . '/recomended_for_you.php' );<br />
        if(stm_is_boats()) {<br />
            require_once( $widgets_path . '/schedule_showing.php' );<br />
            require_once( $widgets_path . '/car_calculator.php' );<br />
        }<br />
        <br />
        add_action('user_register', 'my_register_send_sms', 10, 1);<br />
function my_register_send_sms($user_id){<br />
    $phone_number = get_user_meta($user_id, 'billing_phone', true);<br />
    if($phone_number){<br />
        cosmosfarm_members_sms_send($phone_number, '안녕하세요. 문자 내용입니다.');<br />
    }<br />
}</p>]]></description>
		<copyright>Copyright 2026, 코스모스팜</copyright>
				<item>
			<title><![CDATA[이제 발송이 되네요 너무 감사합니다^^]]></title>
			<link>https://www.cosmosfarm.com/threads/document/25096</link>
			<description><![CDATA[<p>이제 발송이 되네요 너무 감사합니다^^</p>]]></description>
			<author>제이에이파트너스</author>
			<pubDate>Fri, 27 Jul 2018 02:01:51 +0000</pubDate>
			<category>우커머스(WooCommerce)</category>
		</item>
				<item>
			<title><![CDATA[워드프레스 회원가입 시 SMS 문자를 보내는 코드 관련된 질문글인데요.

다른 분들도 참고할 수 있도록 ...]]></title>
			<link>https://www.cosmosfarm.com/threads/document/25077</link>
			<description><![CDATA[<p>워드프레스 회원가입 시 SMS 문자를 보내는 코드 관련된 질문글인데요.</p>

<p>다른 분들도 참고할 수 있도록 내용도 함께 작성해주시길 부탁드립니다.</p>

<p>고맙습니다.</p>]]></description>
			<author>스레드봇</author>
			<pubDate>Thu, 26 Jul 2018 08:14:48 +0000</pubDate>
			<category>우커머스(WooCommerce)</category>
		</item>
				<item>
			<title><![CDATA[안녕하세요~^^

billing_phone 부분은 실제 회원가입 입력 필드의 메타키인지요?

올려주신 코드 대신 ...]]></title>
			<link>https://www.cosmosfarm.com/threads/document/25076</link>
			<description><![CDATA[<p>안녕하세요~^^</p>

<p>billing_phone 부분은 실제 회원가입 입력 필드의 메타키인지요?</p>

<p>올려주신 코드 대신 아래의 코드로 적용해보시겠어요?</p>

<pre>
<code class="language-php">add_action('user_register', 'my_register_send_sms', 10, 1);
function my_register_send_sms($user_id){
	$phone_number = isset($_POST['billing_phone'])?$_POST['billing_phone']:'';
	if($phone_number){
		cosmosfarm_members_sms_send($phone_number, '안녕하세요. 문자 내용입니다.');
	}
}</code></pre>

<p>고맙습니다.</p>]]></description>
			<author>스레드봇</author>
			<pubDate>Thu, 26 Jul 2018 08:09:29 +0000</pubDate>
			<category>우커머스(WooCommerce)</category>
		</item>
			</channel>
</rss>