• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

identify add filter item in my Magazine pro functions.php

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › identify add filter item in my Magazine pro functions.php

This topic is: not resolved

Tagged: functions.php, identify add filter

  • This topic has 4 replies, 2 voices, and was last updated 8 years, 1 month ago by Al Guevara.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • March 3, 2018 at 9:13 am #217265
    Al Guevara
    Member

    I have this 1st item (below) in my functions.php file, right below the opening php tag

    
    add_filter( 'wp_image_editors', 'change_graphic_lib' );
    function change_graphic_lib($array)
    {
    return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' );
    }
    

    Is this a default item, or maybe I've forgotten I put there?
    A search here brings up nuttn.
    Thanks, AL

    March 5, 2018 at 4:16 am #217310
    Victor Font
    Moderator

    That's custom code. https://developer.wordpress.org/reference/classes/wp_image_editor_imagick/


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    March 11, 2018 at 9:41 am #217757
    Al Guevara
    Member

    Hi Victor
    You mean I put it in? Or its Default to Mag Pro?

    March 11, 2018 at 11:37 am #217760
    Victor Font
    Moderator

    It is not default to Magazine Pro. Someone had to have added it to your functions.php. If it wasn't you, then it could have been a plugin. I don't think a developer would have added anything right after the opening tag before the theme is even initialized.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    March 11, 2018 at 1:58 pm #217762
    Al Guevara
    Member

    Thank you Victor, wasnt sure what you meant.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble