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

Dequeue components. Not working as expected. #1

Closed
jcmrs opened this issue May 28, 2016 · 1 comment
Closed

Dequeue components. Not working as expected. #1

jcmrs opened this issue May 28, 2016 · 1 comment

Comments

@jcmrs
Copy link
Owner

jcmrs commented May 28, 2016

`// Dequeue UIKit Components not in use.
add_action( 'beans_uikit_dequeue_components', 'mk_dequeue_uikit_components', 15 );

function mk_dequeue_uikit_components() {

beans_uikit_dequeue_components( array( 'table, badge, alert, overlay' ) );

}`

Not working as expected.

@jcmrs jcmrs modified the milestone: General UI May 28, 2016
@jcmrs
Copy link
Owner Author

jcmrs commented May 29, 2016

https://community.getbeans.io/discussion/unused-css-rules/#post-1349

// Dequeue UIKit Components not in use.
add_action( 'beans_uikit_enqueue_scripts', 'mk_dequeue_uikit_components' );

function mk_dequeue_uikit_components() {

    beans_uikit_dequeue_components( array( 'table', 'badge', 'alert', 'overlay' ) );

}

@jcmrs jcmrs closed this as completed May 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant