• プラグイン一覧
    - WCEX Item Combo Set
    - WCEX Amazon Pay
    - WCEX Wishlist お気に入りリスト
  • リリース情報
  • お役立ちコラム
  • お問い合わせ
  • サポート
    • よくある質問
      • WCEX Amazon Pay
      • WCEX Wishlist お気に入りリスト
      • wcex-item-combo-set
    • リファレンス
      • WCEX Amazon Pay
      • WCEX Wishlist お気に入りリスト
      • wcex-item-combo-set
新規会員登録
ログイン
新規会員登録
ログイン
カート
  • プラグイン一覧
    • - WCEX Item Combo Set
    • - WCEX Amazon Pay
    • - WCEX Wishlist お気に入りリスト
  • リリース情報
  • お役立ちコラム
  • サポート
    • - よくある質問
      • - WCEX Amazon Pay
      • - WCEX Wishlist お気に入りリスト
      • - wcex-item-combo-set
    • - リファレンス
      • - WCEX Amazon Pay
      • - WCEX Wishlist お気に入りリスト
      • - wcex-item-combo-set
  • お問い合わせ
Aivec APPs > WCEX Wishlist お気に入りリスト > ファンクション > wcexwl_get_wishlist_gp_info_section
レファレンス
バージョン
3.1.6
絞り込み:
目的から探す
お気に入りデータを取得 お気に入りページのHTMLを取得 スナックバーアラート

目次

  • 戻り値
  • ソース
  • 関連アイテム
    • 使用するアイテム
    • 使用されるアイテム

フック

  • アクション
  • フィルター

ファンクション

  • データ取得
  • ユーティリティー
  • 条件判断
  • 表示系

ファンクション

wcexwl_get_wishlist_gp_info_section()

業務パック情報セクションHTMLを返す


戻り値 #戻り値

(文字列)

ソース #ソース

Top ↑

ファイル: src/template-functions.php

function wcexwl_get_wishlist_gp_info_section() {
    $gpalt = __('Business package discount', 'usces');
    $gptext = __('The price with this mark applys to Business pack discount.', 'usces');
    $gpgif = file_exists(get_template_directory() . '/images/gp.gif') ? get_template_directory_uri() . '/images/gp.gif' : USCES_PLUGIN_URL . '/images/gp.gif';
    ob_start();
    ?>
    <div class="wcexwl gp-info flex row-wrap ai-center jc-center mt-05rem mb-05rem mr-05rem">
        <img class="wcexwl ml-05rem mb-05rem" src="<?php echo $gpgif; ?>" alt="<?php echo $gpalt; ?>" />
        <span class="wcexwl ml-05rem mb-05rem"><?php echo $gptext; ?></span>
    </div>
    <?php
    $html = (string)ob_get_clean();
    /**
     * Filters the HTML of the business package section displayed on the wishlist page
     *
     * @important
     * @param string $html
     * @param string $gpalt  Business package title text
     * @param string $gptext Business package description text
     * @param string $gpgif  Business package icon GIF
     */
    $html = apply_filters('wcexwl_filter_wlpage_gp_info_section', $html, $gpalt, $gptext, $gpgif);

    return $html;
}

ソースを伸ばす ソースを縮める


関連アイテム #関連アイテム

Top ↑

使用するアイテム #使用するアイテム

使用するアイテム
説明
src/template-functions.php: wcexwl_filter_wlpage_gp_info_section

お気に入りリストページに表示される業務パックセクションのHTMLをフィルタリングする

使用されるアイテム #使用されるアイテム

Top ↑

使用されるアイテム説明
src/template-functions.php: wcexwl_display_wishlist_page_content()

お気に入りリストページの内容をHTMLを出力する(動作セクションと列を一括で)

  • 新規会員登録
  • ログイン
    • プラグイン一覧
    • 会社概要
    • リリース情報
    • よくある質問
    • お役立ちコラム
    • お問い合わせ
    • 個人情報保護方針
    • 特定商取引法に基づく表記
    • 情報セキュリティ基本方針
    • 利用規約

アイベック合同会社は「Welcart」「Amazon Pay」の公式パートナーです。

※Amazon、Amazon.co.jp、Amazon Payおよびそれらのロゴは、Amazon.com,inc.またはその関連会社の商標です。

© 2025 Aivec llc All Rights Reserved.