Ready to get started?Download WordPress


Advanced Custom Fields
Is there a way to use acf on widgets_init hook ? (1 post)

  1. Mihail Semjonov
    Posted 10 months ago #

    Hi there,
    I'm triyng to make something like "sidebar creation" from acf (options page and repeater field)..
    The problem is that in functions.php get_field returns false and i can't get the values from options page and repeater field..
    Mey be there's anothere solution on how to get repeater field from options page ?
    I'm trying:

    function unit_widgets_init() {
            echo '<pre>';
            echo '</pre>';
        add_action( 'widgets_init', 'unit_widgets_init' );

    and it gives false
    On front end everithing is working fine.
    Is there a solution ?



You must log in to post.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 10 months ago by Mihail Semjonov
  • This topic is not resolved
  • WordPress version: 3.6


No tags yet.