wpsnoop: fix Link2Post plugin conflicts, errors & issues

When the plugin Link2Post conflicts or throws a PHP error we hope wpsnoop can help you to fix the issue quickly.


Discover which shortcodes wp-options PHP functions database tables and files are created by Link2Post, plus learn which plugins and/or themes could be in conflict with Link2Post.


Troubleshooting theme and plugin conflicts is easier when you know what Link2Post leaves behind after uninstalling it from a WordPress installation, there is a list down below for your convenience.

Expert advice is recommended if you are not technically proficient with PHP, MySQL etc. View support options for Link2Post

Get professional support for Link2Post here

When you need professional help with WordPress: get help here


What does Link2Post version .1 add to WordPress? Answers Here.

This is an automatically generated report - it is possible for Link2Post to perform differently in your installation, previous versions before .1 may have created a different set of shortcodes, used different function names or could have created entirely different database tables to store settings and operate. This is not an exhaustive list but shows how version .1 of Link2Post behaves when installed and removed on a clean installation of WordPress.

We have not tested individual shortcodes, features or settings of this plugin but instead have concentrated on the potential for obvious errors and conflicts which can occur, if you need help with the plugin in your local installation you can get WordPress help and support for Link2Post by clicking here.

Our testing covered the free version of this plugin there may or may not be a paid version or premium version available for purchase that unlocks additional features and could behave in a slightly or very different manner.

Which new files does Link2Post add to WordPress?

This section will populate with a table showing an icon, size and filepath.

Type & Path Size Conflicts
wp-content/plugins/link2post/ 244.05kB No known conflicts with other themes or plugins.
wp-content/plugins/link2post/adminpages/ 3.85kB No known conflicts with other themes or plugins.
wp-content/plugins/link2post/adminpages/link2post_settings.php 2.55kB No known conflicts with other themes or plugins.
wp-content/plugins/link2post/adminpages/link2post_tools.php 1.29kB No known conflicts with other themes or plugins.
wp-content/plugins/link2post/css/ 247.00B No known conflicts with other themes or plugins.
wp-content/plugins/link2post/css/admin.css 247.00B No known conflicts with other themes or plugins.
wp-content/plugins/link2post/js/ 198.99kB No known conflicts with other themes or plugins.
wp-content/plugins/link2post/js/link2post.js 2.77kB No known conflicts with other themes or plugins.
wp-content/plugins/link2post/js/vue.js 196.22kB No known conflicts with other themes or plugins.
wp-content/plugins/link2post/lib/ 6.64kB No known conflicts with other themes or plugins.
wp-content/plugins/link2post/lib/selector.php 6.64kB No known conflicts with other themes or plugins.
wp-content/plugins/link2post/link2post.php 11.00kB No known conflicts with other themes or plugins.
wp-content/plugins/link2post/modules/ 20.69kB No known conflicts with other themes or plugins.
wp-content/plugins/link2post/modules/codepen.php 4.44kB No known conflicts with other themes or plugins.
wp-content/plugins/link2post/modules/gist.php 4.31kB No known conflicts with other themes or plugins.
wp-content/plugins/link2post/modules/jsfiddle.php 3.69kB No known conflicts with other themes or plugins.
wp-content/plugins/link2post/modules/sample_module.php 4.41kB No known conflicts with other themes or plugins.
wp-content/plugins/link2post/modules/youtube.php 3.84kB No known conflicts with other themes or plugins.
wp-content/plugins/link2post/readme.md 135.00B No known conflicts with other themes or plugins.
wp-content/plugins/link2post/readme.txt 2.51kB No known conflicts with other themes or plugins.

Which new shortcodes does Link2Post add to WordPress?

Which new database tables are created by the WordPress plugin Link2Post?

Which new options are added to the wp-options table by Link2Post?

Option Name   Known Conflicts
l2p_codepen_content_enabled The l2p_codepen_content_enabled option doesn't have any known conflicts with other themes or plugins.
l2p_codepen_cpt_enabled The l2p_codepen_cpt_enabled option doesn't have any known conflicts with other themes or plugins.
l2p_gist_content_enabled The l2p_gist_content_enabled option doesn't have any known conflicts with other themes or plugins.
l2p_gist_cpt_enabled The l2p_gist_cpt_enabled option doesn't have any known conflicts with other themes or plugins.
l2p_jsfiddle_content_enabled The l2p_jsfiddle_content_enabled option doesn't have any known conflicts with other themes or plugins.
l2p_jsfiddle_cpt_enabled The l2p_jsfiddle_cpt_enabled option doesn't have any known conflicts with other themes or plugins.
l2p_youtube_content_enabled The l2p_youtube_content_enabled option doesn't have any known conflicts with other themes or plugins.
l2p_youtube_cpt_enabled The l2p_youtube_cpt_enabled option doesn't have any known conflicts with other themes or plugins.

During use Link2Post may or may not create more options depending on how the plugin is configured and depending on which other themes and plugins are active in your specific hosting environment.

What new PHP functions does Link2Post declare when it is active?

Function   Conflicts Common Errors
myplugin_activate 15 conflicts Fatal error: Cannot redeclare myplugin_activate()
l2p_add_codepen_module 0 conflicts Fatal error: Cannot redeclare l2p_add_codepen_module()
l2p_add_gist_module 0 conflicts Fatal error: Cannot redeclare l2p_add_gist_module()
l2p_add_jsfiddle_module 0 conflicts Fatal error: Cannot redeclare l2p_add_jsfiddle_module()
l2p_add_youtube_module 0 conflicts Fatal error: Cannot redeclare l2p_add_youtube_module()
l2p_admin_bar_menu 0 conflicts Fatal error: Cannot redeclare l2p_admin_bar_menu()
l2p_admin_pages 0 conflicts Fatal error: Cannot redeclare l2p_admin_pages()
l2p_admin_settings_pages_main 0 conflicts Fatal error: Cannot redeclare l2p_admin_settings_pages_main()
l2p_admin_tool_pages_main 0 conflicts Fatal error: Cannot redeclare l2p_admin_tool_pages_main()
l2p_codepen_callback 0 conflicts Fatal error: Cannot redeclare l2p_codepen_callback()
l2p_create_codepen_cpt 0 conflicts Fatal error: Cannot redeclare l2p_create_codepen_cpt()
l2p_create_gist_cpt 0 conflicts Fatal error: Cannot redeclare l2p_create_gist_cpt()
l2p_create_jsfiddle_cpt 0 conflicts Fatal error: Cannot redeclare l2p_create_jsfiddle_cpt()
l2p_create_youtube_cpt 0 conflicts Fatal error: Cannot redeclare l2p_create_youtube_cpt()
l2p_enqueue_custom_admin_style 0 conflicts Fatal error: Cannot redeclare l2p_enqueue_custom_admin_style()
l2p_enqueue_scripts 0 conflicts Fatal error: Cannot redeclare l2p_enqueue_scripts()
l2p_get_modules 0 conflicts Fatal error: Cannot redeclare l2p_get_modules()
l2p_gist_callback 0 conflicts Fatal error: Cannot redeclare l2p_gist_callback()
l2p_jsfiddle_callback 0 conflicts Fatal error: Cannot redeclare l2p_jsfiddle_callback()
l2p_on_tools_page 0 conflicts Fatal error: Cannot redeclare l2p_on_tools_page()
l2p_submit 0 conflicts Fatal error: Cannot redeclare l2p_submit()
l2p_update 0 conflicts Fatal error: Cannot redeclare l2p_update()
l2p_youtube_callback 0 conflicts Fatal error: Cannot redeclare l2p_youtube_callback()

Using Link2Post from the command line with WP-CLI

The following commands are provided for convenience and should only be used if you understand how WP-CLI works. These commands refer to a single WordPress instance and may need to be modified if you are working with a Multisite installation.


How to install Link2Post from the command line with WP-CLI

Navigate to the root of your WordPress installation and type the following command:

wp plugin install link2post


How to activate Link2Post from the command line with WP-CLI

To immediately activate Link2Post after WP-CLI downloads the latest version you can use the following command:

wp plugin install link2post --activate


How to reinstall Link2Post from the command line with WP-CLI

To force a reinstallation of Link2Post which overwrites the current plugin without asking for confirmation you can use the following command:

wp plugin install link2post --force


How to update Link2Post to the latest version from the command line with WP-CLI

wp plugin update link2post


How to delete Link2Post from the command line with WP-CLI

wp plugin delete link2post

Where can you download earlier versions of Link2Post?

Whenever possible you should use the latest version of plugins and themes, however if you have recently updated and discovered that you need to install an earlier version you may be able to download other versions of Link2Post from the WordPress repository by visiting this link.

Please note that installing earlier versions of a theme or plugin is not generally a recommended course of action for most users and could re-introduce security, stability or other issues in Link2Post

About our testing enviroment

Tests were conducted using Apache 2.4.29, PHP 7.2 on Ubuntu 18.04, MySQL 5.7.33 and WordPress 5.9

It is very possible that different versions of PHP such as PHP 8.0, PHP 7.4, or PHP 7.3 could behave differently with Link2Post. Different versions of WordPress could implement the features of this plugin in slightly different ways as well.