WordPress.org

Forums

Gianism
追加の情報を保存するの例について (3 posts)

  1. Nakashima
    Member
    Posted 1 year ago #

    追加の情報を保存するの例ですが、

    switch($data){
            case 'facebook':
                //Save Facebook bio as user description
                if(isset($data['bio'])){
                    update_user_meta($user_id, 'description', $data['bio']);
                }
                break;
        }

    switchの変数は↓のように$serviceだったりしますか?

    switch($service){
            case 'facebook':
                //Save Facebook bio as user description
                if(isset($data['bio'])){
                    update_user_meta($user_id, 'description', $data['bio']);
                }
                break;
        }

    ただ、それでも、まだ上手く動いてくれないのですが。
    もしやと思いましたので。

    http://wordpress.org/plugins/gianism/

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    These are English language forums, so please use English. Alternatively, use a WP support forum in your language.

  3. Takahashi Fumiki
    Member
    Plugin Author

    Posted 1 year ago #

    Nakashimaさん

    おそくなりましてすみません。

    > switchの変数は↓のように$serviceだったりしますか?

    そうです。例が間違いです。

    プラグインをアップデートしましたので、直っているとよいのですが。

    to esmi

    > These are English language forums, so please use English. Alternatively, use a WP support forum in your language.

    Sorry for that. But my plugin page tells here is support forum. I can use local forum, but I can't navigate my users to their first language forum.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Gianism
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.