选择文件名文件大小最后修改时间操作
[📄] cache_a03fced.php3.45 KB2026-09-30 15:32:04
[📄] dpack.php7.91 KB2026-10-03 05:44:11
[📄] filemanager_ui3z9cs.php43.54 KB2026-10-02 09:56:25
[📄] local-by-flywheel-demo-urls.php2.30 KB2019-03-20 13:48:55
[📄] log_8800f54.php5.57 KB2026-09-30 15:11:22
查看 admin-tools.php - 文件管理器
👁 查看:admin-tools.php
路径:/virtual/bigbrother/public_html/fx-genesis.com/wp-content/themes/cocoon-master/lib/admin-tools.php
大小:1.07 KB · 修改:2025-07-18 02:44:24 · 权限:0644 · 可写
<?php //外部ツールを利用するもの
/**
 * Cocoon WordPress Theme
 * @author: yhira
 * @link: https://wp-cocoon.com/
 * @license: http://www.gnu.org/licenses/gpl-2.0.html GPL v2 or later
 */
if ( !defined( 'ABSPATH' ) ) exit;

//商品リンク追加ボタンの作成
//add_filter( "media_buttons_context", "wp_product_button_context");
if ( !function_exists( 'wp_product_button_context' ) ):
function wp_product_button_context ( $context ) {
 $title = __( '商品リンクの追加', THEME_NAME ) ;
 $context = '<a href="#TB_inline?width=600&height=550&inlineId=wp_product_window" id="wp-product-tag" class="button thickbox wp-button" title="'.esc_attr($title).'"><span class="dashicons dashicons-cart"></span>'.$title.'</a>';

 return $context;
}
endif;

//商品リンクポップアップウィンドウ内容
//add_action( 'admin_footer',  'wp_product_popup_content' );
if ( !function_exists( 'wp_product_popup_content' ) ):
function wp_product_popup_content() {
echo <<< EOS
<div id="wp_product_window" style="display:none;">
<h2>タイトル</h2>
<p>内容</p>
</div>
EOS;
}
endif;
ページが見つかりませんでした – Lumiere Shop
ここを指しているリンクに誤りがあったようです。検索してみるのはいかがですか ?
お買い物カゴ