开发者 | ayeshrajans |
---|---|
更新时间 | 2021年7月15日 18:24 |
PHP版本: | 7.1 及以上 |
WordPress版本: | 5.6 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
Yes, but only in versions prior to 5.5.1, and it used a legacy API that stopped working after October 24, 2020. See #50861 for more information.
Yes, this plugin requires PHP 7.1 or later. That is by design.
Probably not. This plugin is intended to bring back functionality the WordPress core eventually drops.
Go to Settings -> Writing, and you will see a section to enter Facebook App ID and Secret.
Alternately, you can set the Facebook App ID and secret in the wp-config.php
file. If they are set in the wp-config.php
file, the settings form in Settings -> Writing section will be disabled.
To enter the Facebook App ID and secret, update the wp-config.php
file in root of your WordPress installation, and append the following lines:
define('OEMBED_PLUS_FACEBOOK_APP_ID', '<App ID Here>'); define('OEMBED_PLUS_FACEBOOK_SECRET', '<Secret Here>');
It is possible to completely hide the administration form added by this plugin in Admin → Settings → Writing page. This can be helpful if you set the configuration values in the wp-config.php
file, and keep the administration UI minimal.
To hide the administration form, update the wp-config.php
file with an extra line:
define('OEMBED_PLUS_HIDE_ADMIN_UI', true);
https://www.facebook.com/watch/?v=<ID>
URL pattern to supported video URL patterns.wp-config.php
file.OEMBED_PLUS_HIDE_ADMIN_UI
PHP constant in wp-config.php
file.