mycred_remove_transfer_css

Codex / mycred/transfer / Filters / mycred_remove_transfer_css

Navigation:

  1. Description
  2. Used By
  3. Parameters
  4. Example

Description

This filter lets you disable the default CSS styling for the Transfer shortcode.

Note! Only available if the Transfer Add-on is enabled.

 

Used By

  • Class: myCRED_Transfer_Creds Method: front_enqueue()

 

Parameters

  • run (boolean)
    Return false to disable the css styling. Defaults to true.

 

Example

Disable the CSS Styling

add_filter( 'mycred_remove_transfer_css', 'disable_mycred_transfer_styling' );
function disable_mycred_transfer_styling() { return false; }

Add this code to your themes functions.php file

Last edited June 26, 2016