plugin_sandbox_scrape()

 

File: wp-admin/includes/plugin.php

function plugin_sandbox_scrape( $plugin ) {
	wp_register_plugin_realpath( WP_PLUGIN_DIR . '/' . $plugin );
	include( WP_PLUGIN_DIR . '/' . $plugin );
}

参数:plugin_sandbox_scrape( string $plugin )

Path to the plugin file relative to the plugins directory.

$plugin

(string)
(Required)
Path to the plugin file relative to the plugins directory.

{acontent3}

You must log in before being able to contribute a note or feedback.

30.77% (8) 次Baidu访问
3.85% (1) 次Google访问
65.38% (17) 次Sogou访问
  • 蜘蛛:Baidu,8次,更新时间:2019-05-18 11:48:14
  • 蜘蛛:Google,1次,更新时间:2019-05-13 11:46:30
  • 蜘蛛:Sogou,17次,更新时间:2019-05-17 14:04:22

参与评论