Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why these files are loaded? #3341

Open
pear1 opened this issue Apr 30, 2018 · 0 comments
Open

Why these files are loaded? #3341

pear1 opened this issue Apr 30, 2018 · 0 comments

Comments

@pear1
Copy link

pear1 commented Apr 30, 2018

Hi,

I were just testing this function (print_r( get_included_files() );) and were wondering why there are so many files loaded from Unyson (about 100). If I only have Backups and Mega Menu extensions installed.
For example, why are these files loaded bellow in front-end when page builder isn't even installed?

[100] => /wp-content/plugins/unyson/framework/extensions/shortcodes/shortcodes/section/includes/template-component/init.php
[101] => /wp-content/plugins/unyson/framework/extensions/shortcodes/shortcodes/column/includes/template-component/init.php
[102] => /wp-content/plugins/unyson/framework/extensions/shortcodes/shortcodes/calendar/class-fw-shortcode-calendar.php
[103] => /wp-content/plugins/unyson/framework/extensions/shortcodes/shortcodes/column/class-fw-shortcode-column.php
[104] => /wp-content/plugins/unyson/framework/extensions/shortcodes/shortcodes/map/class-fw-shortcode-map.php
...

And why are all option files loaded in front-end if we don't have a front-end builder?

[188] => /wp-content/plugins/unyson/framework/includes/option-types/addable-box/class-fw-option-type-addable-box.php
[189] => /wp-content/plugins/unyson/framework/includes/option-types/addable-option/class-fw-option-type-addable-option.php
[190] => /wp-content/plugins/unyson/framework/includes/option-types/addable-popup/class-fw-option-type-addable-popup.php
[191] => /wp-content/plugins/unyson/framework/includes/option-types/background-image/class-fw-option-type-background-image.php
[192] => /wp-content/plugins/unyson/framework/includes/option-types/color-picker/class-fw-option-type-color-picker.php
...

Also are there any hooks available to disable backup extension in front-end as I use it only on demand?

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant