1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Get specific notice from the dataRegistry

Discussion in 'XenForo Development Discussions' started by Rob, Jul 21, 2015.

  1. Rob

    Rob Well-Known Member

    Does anyone know how can I get a specific notice by notice id from the dataRegistry?
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    You have to get them all out but they should be keyed by the notice ID. e.g

    PHP:
    $notice $notices[$noticeId];
    Where $notices is the notices from the data registry.
     
    Rob likes this.
  3. Rob

    Rob Well-Known Member

    Thanks, will try that.
     

Share This Page