/* * Creating a column (it is also possible to remove some default ones) */ add_filter( ‘manage_users_columns’, ‘rudr_modify_user_table’ ); function rudr_modify_user_table( $columns ) { // unset( $columns[‘posts’] ); // maybe you would like to remove default columns $columns[ ‘registration_date’ ]…Continue reading
add_filter( ‘wfea_cal_extra_options’, function ( $options ) { $options[‘fullcalendar’][‘showNonCurrentDates’] = false; return $options; }, 10, 1 );Continue reading
add_filter( ‘aioseo_schema_output’, function ( $schema ) { foreach ( $schema as &$schemaItem ) { if ( isset( $schemaItem[‘@type’] ) && ‘Product’ === $schemaItem[‘@type’] ) { if(!empty($schemaItem[“offers”][“shippingDetails”])){ // Loop inside the Offers > shippingDetails schema foreach( $schemaItem[“offers”][“shippingDetails”] as &$schemaItemChild ){ //…Continue reading
add_action( ‘wp’, ‘example_charitable_update_donation_fields’ ); function example_charitable_update_donation_fields() { // Get the donation fields. $fields = charitable()->donation_fields(); // Get the field we want to update. $field = $fields->get_field( ‘state’ ); // Update the field’s label to say “Province” on the donation form…Continue reading