Try to check class_exists:
<?php
if( class_exists('acf') ) {
echo "hi";
}
?>
Related Posts:
- How do I replace a function, declared inside a plugin’s class, in functions.php?
- is_plugin_active() returning false on active plugin
- How to include a plugin’s php file to another plugin functions file [duplicate]
- How to get current post ID in Contact Form 7 wpcf7_before_send_mail hook action
- Problem requiring/including plugin files with plugin_dir_path( __FILE__ )
- Using Advanced Custom Fields with WordPress and Lightbox
- Why does including a file in theme’s functions.php not work?
- How to store ACF custom fields data in a custom table
- Generate Advanced Custom Fields box in custom admin menu page
- Edit Imported advanced Custom Fields from wordpress Dashboard
- Include files for a plugin not including
- Visual Composer vs. Advanced Custom Fields [closed]
- ACF for audio url in wordpress audio shortcode
- Adding rich text editor to my plugin
- Custom field in TWIG template – Advanced custom fields plugin
- Advanced Custom Fields query
- I need to add a custom “cover” to every new post — plugin or custom setup?
- How do I add advanced custom fields / meta fields to Elasticsearch? [closed]
- How to create Repeater fields using Advanced Custom Fields?
- Loop with array of posts using ‘Advanced Custom Fields’ plugin [closed]
- Using ACF to display data on all pages
- Advanced Custom Fields/User Role Editor – how to hide ACF for certain users?
- Last modified field for user profile?
- WP_Query ordering numbers as letters
- Get post by ASC from custome field DATE picker
- Getting value from Advanced Custom Fields [closed]
- Inserting HTML tag with ACF into shortcode
- Advanced Custom Fields plugin – get text from editor field and save it in a variable
- Creating plugin using simple_html_dom parser?
- Pull out Advanced Custom Fields in Related post plugin
- Using a post-signup hook to get user details
- Matching Chapters to a Custom posts [closed]
- Advanced Custom Fields displaying on tag pages
- Custom Fields with Pods not being translated
- is there a way to link one of the field in ACF field group, to a field in a media attachment page? [closed]
- How to remove the inline styles from the content of a WYSIWYG editor field at the time of saving the post?
- add custom filters to the event calendar plugin programatically to frontend [closed]
- Use of Templates in a Plugin
- Can you use another Profile Builder shortcodes through advanced custom fields
- Include comments form in plugin page
- WP Plugins – Use includes to display page content
- Paid Membership Pro with ACF [closed]
- ACF only showing up in Homepage but doesn’t appears in all pages
- Advanced Custom Fields – Disable Users to Edit Custom Fields
- Using ACF default value to autoincrement a number field
- URLs Added to ACF Repeater Field are not working
- Advanced Custom Fields – Get value in other plugin file [closed]
- Remove Advanced Custom Fields plugin for client?
- Adding class to last list item? Not WP generated
- How do we update a custom file upload field with the Advanced Custom Field plugin?
- Advanced Custom Fields (acf) – Filter Relationship by Taxonomies not Post Type
- ACF – How to set the menu order for the relationship field
- Conditional custom redirect
- Preview with Custom Post Type Not Working
- How to display a number of posts based on a Advanced Custom Field (ACF)
- Translation to ACF relationship field
- How to get the get the select values created by ACF plugin in wordpress
- Using plugin_dir_path() with WordPress on MAMP
- How to create repeater field manually, without plugin (ACF Pro)?
- Replace the_content with ACF Flexible Content via function
- acf backend error handling
- Setting Author on CPT
- Can’t load the the canges of field groups [duplicate]
- Multisite – Cloning CPT pages + content (including ACF Flexible Content) from site to site
- ACF checkbox return format based on page
- custom fields not displaying on wordpress site
- ACF Fields are not showing up on Homepage
- Why Custom fields description is not working WordPress Version 5.4.2?
- Images are broken in Wysiwyg Editor – ACF backend
- make p tag collapsed after 3 rows
- How do I change the functionality of an image slider which is part of ACF?
- Change the color of ACF Subtitle output background
- Will downloading a page builder plugin delete my existing data?
- Add Custom Field to Post Pages via Plugin
- Get only selected custom taxonomy
- ACF Taxonomy search on backend (Relationship field)
- Get a Taxonomy values in an array
- plugin_dir_url(__FILE__) searches parent theme in ACF extension
- How to use categories in the URL with Advanced Custom Fields?
- show Visual form builder in the front end
- Advanced Custom Field User Help URL
- Define constant for one plugin in mu-plugin
- Include paths and functions for external scripts
- Hide/Show panel not showing – ACF
- Pulling Advanced Custom Fields from other pages
- ACF: Hide a div or template section when a custom field (in a field group) is empty
- Custom time field won’t sort regardless of format
- How ACF Advanced Custom Field works with Woocommerce Single Product [closed]
- ACF Taxonomy Object term Null [closed]
- White Screen When Includding A Folder With PHP Files
- php include returns 1 as output with other outputs [closed]
- Update acf field in woocommerce orders
- True/False ACF field returning null by default even if default value is true
- Sort posts by Date (DESC) and by ACF: active_inactive (ASC)
- ACF prugin for WooCommerce Shop Page
- Using ACF to allow user to add and edit multiple saved forms
- Advanced Custom Fields (ACF) and their Javascript API
- Not applying update field (acf) in my plugin
- Plugin question, How to insert a colon in a value box
- Draft standard post by ACF Data picker