Search results for: admin
WP Simple Pay: Remove Trailing Decimals
Removes trailing decimals in amounts
WordPress Memory Exhausted
WordPress is written in PHP, which is a server-side programming language. Additionally, every website needs a…
Current Year Shortcode
Adding the option to use the current year [year] shortcode on your website on any website,…
Post-States
add_filter( 'display_post_states', 'bu_style_post_state_bricks', 15, 2 ); function bu_style_post_state_bricks ($post_states, $post) { if( isset( $post_states['bricks'] ) )…
Add deliveryTime schema to shippingDetails schema
This snippet adds deliveryTime schema to shippingDetails schema that's present inside the Product > Offers schema
code at the end of the body tag
Hello, I need to include the following code at the end of the body tag of…
code at the end of the body tag
Hello, I need to include the following code at the end of the body tag of…
WP Simple Pay: Increase Input Font Size
Increase the font size of form inputs
Add a single Order export field with all Shipping address details
function custom_woo_ce_extend_order_fields( $fields ) { $fields[] = array( 'name' => 'shipping_address_full', 'label' => 'Shipping: All details',…
Use the Variation Name instead of Slug within the Product Name detail of Product exports
function custom_woo_ce_get_product_title_attribute_formatting( $format = 'slug', $post_id ) { // Set the format to Attribute Title $format…
JP_Wp_Snippets
All different snippets I have been using
create_folder_and_upload_file
Creating a folder directly inside the WordPress Media Library through code requires understanding that the WordPress…