wpsnoop: fix If As Shortcode plugin conflicts, errors & issues

When the plugin If As Shortcode 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 If As Shortcode, plus learn which plugins and/or themes could be in conflict with If As Shortcode.


Troubleshooting theme and plugin conflicts is easier when you know what If As Shortcode 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 If As Shortcode

Get professional support for If As Shortcode here

When you need professional help with WordPress: get help here


What does If As Shortcode version 1.1.0 add to WordPress? Answers Here.

This is an automatically generated report - it is possible for If As Shortcode to perform differently in your installation, previous versions before 1.1.0 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.1.0 of If As Shortcode 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 If As Shortcode 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 If As Shortcode add to WordPress?

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

Type & Path Size Conflicts
wp-content/plugins/if-as-shortcode/ 42.91kB No known conflicts with other themes or plugins.
wp-content/plugins/if-as-shortcode/if_as_shortcode.php 4.39kB No known conflicts with other themes or plugins.
wp-content/plugins/if-as-shortcode/include/ 25.82kB No known conflicts with other themes or plugins.
wp-content/plugins/if-as-shortcode/include/editor_plugin.js 2.58kB No known conflicts with other themes or plugins.
wp-content/plugins/if-as-shortcode/include/if.png 650.00B No known conflicts with other themes or plugins.
wp-content/plugins/if-as-shortcode/include/index.php 2.00B No known conflicts with other themes or plugins.
wp-content/plugins/if-as-shortcode/include/js/ 3.46kB No known conflicts with other themes or plugins.
wp-content/plugins/if-as-shortcode/include/js/admin.js 2.38kB No known conflicts with other themes or plugins.
wp-content/plugins/if-as-shortcode/include/js/admin.min.js 1.08kB No known conflicts with other themes or plugins.
wp-content/plugins/if-as-shortcode/include/js/index.php 2.00B No known conflicts with other themes or plugins.
wp-content/plugins/if-as-shortcode/include/restricted-content.php 7.48kB No known conflicts with other themes or plugins.
wp-content/plugins/if-as-shortcode/include/shortcode_menu.php 11.66kB No known conflicts with other themes or plugins.
wp-content/plugins/if-as-shortcode/lang/ 9.70kB No known conflicts with other themes or plugins.
wp-content/plugins/if-as-shortcode/lang/if-as-shortcode-ar.mo 4.03kB No known conflicts with other themes or plugins.
wp-content/plugins/if-as-shortcode/lang/if-as-shortcode-ar.po 5.67kB No known conflicts with other themes or plugins.
wp-content/plugins/if-as-shortcode/lang/index.php 2.00B No known conflicts with other themes or plugins.
wp-content/plugins/if-as-shortcode/readme.txt 3.00kB No known conflicts with other themes or plugins.

Which new shortcodes does If As Shortcode add to WordPress?

ShortCode   Known Plugin or Theme conflicts
[gs_test_shortcode] The gs_test_shortcode shortcode has potential conflict with at least 1 other plugin or theme.
[if] The if shortcode has potential conflicts with at least 10 other plugins or themes.
[PHP_CODE] The PHP_CODE shortcode doesn't have any known conflicts with other themes or plugins.

Note: We have not yet checked to see if these shortcodes work as expected in pages, posts, sidebar widgets, or when set as the page title, in content, in the excert, in menus or anywhere else within a WordPress installation. A shortcode could produce errors due to parameters added when it is used, or if the plugin is updated and the format of the shortcode has changed.

Which new database tables are created by the WordPress plugin If As Shortcode?

Which new options are added to the wp-options table by If As Shortcode?

Option Name   Known Conflicts
widget_restricted_content_widget The widget_restricted_content_widget option doesn't have any known conflicts with other themes or plugins.

During use If As Shortcode 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.

Using If As Shortcode 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 If As Shortcode from the command line with WP-CLI

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

wp plugin install if-as-shortcode


How to activate If As Shortcode from the command line with WP-CLI

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

wp plugin install if-as-shortcode --activate


How to reinstall If As Shortcode from the command line with WP-CLI

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

wp plugin install if-as-shortcode --force


How to update If As Shortcode to the latest version from the command line with WP-CLI

wp plugin update if-as-shortcode


How to delete If As Shortcode from the command line with WP-CLI

wp plugin delete if-as-shortcode

Where can you download earlier versions of If As Shortcode?

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 If As Shortcode 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 If As Shortcode

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 If As Shortcode. Different versions of WordPress could implement the features of this plugin in slightly different ways as well.